Added Tolerance
Corrected type of tauIR.
Merge pull request #300 from lbl-srg/openmodelica

Merge openmodelica branch
Changed assignment of R.

This is for OpenModelica.
Merge branch 'openmodelica'