Comprehensive methodology for detection and diagnosis of oscillatory control loops