Stability of stationary thermodynamic states