a control system and method for a hydraulic system that controls a fluid supply in an engine includes a timer module determines the response time of the hs to perform at least one of : increasing the pressure of the fluid supply above a predetermined threshold following the state change command and decreasing said pressure of said fluid supply below said predetermined threshold following said state change command . an update module updates the desired time of the hs based on the response time of the hs .