Least costly closed-loop performance diagnosis and plant re-identification