Fault-tolerant reference generation for model predictive control with active diagnosis of elevator jamming faults