Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.791/0.791, allocations: 143.8 MB / 159.1 MB, free: 6.492 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 183.2 kB / 192 MB, free: 6.734 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.7 MB / 450.4 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007625/0.0007625, allocations: 111.4 kB / 0.5211 GB, free: 1.652 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00173/0.00173, allocations: 284.5 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004785, allocations: 11.81 kB / 0.6948 GB, free: 59.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1568, allocations: 82.47 MB / 0.7753 GB, free: 14.33 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002245/0.1591, allocations: 1.672 MB / 0.7769 GB, free: 12.65 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.162, allocations: 2.956 MB / 0.7798 GB, free: 9.375 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.084e-05/0.1621, allocations: 4 kB / 0.7798 GB, free: 9.371 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.887e-05/0.1622, allocations: 7.922 kB / 0.7798 GB, free: 9.363 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.1623, allocations: 47.61 kB / 0.7799 GB, free: 9.316 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008646/0.1632, allocations: 291.2 kB / 0.7802 GB, free: 9.031 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.1634, allocations: 207.1 kB / 0.7804 GB, free: 8.828 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.1636, allocations: 49.73 kB / 0.7804 GB, free: 8.773 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.288e-05/0.1637, allocations: 71.78 kB / 0.7805 GB, free: 8.703 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.1639, allocations: 91.59 kB / 0.7806 GB, free: 8.613 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.1639, allocations: 8 kB / 0.7806 GB, free: 8.605 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007049/0.1646, allocations: 375.5 kB / 0.7809 GB, free: 8.238 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.1647, allocations: 27.91 kB / 0.781 GB, free: 8.211 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1648, allocations: 109.3 kB / 0.7811 GB, free: 8.098 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005349/0.1653, allocations: 414.9 kB / 0.7815 GB, free: 7.691 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1653, allocations: 0 / 0.7815 GB, free: 7.691 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.1653, allocations: 4 kB / 0.7815 GB, free: 7.688 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1653, allocations: 4 kB / 0.7815 GB, free: 7.684 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007638/0.1661, allocations: 495.1 kB / 0.7819 GB, free: 7.145 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1662, allocations: 12.03 kB / 0.782 GB, free: 7.133 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005451/0.1667, allocations: 100.7 kB / 0.7821 GB, free: 7.035 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.1669, allocations: 180.2 kB / 0.7822 GB, free: 6.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.381e-05/0.1669, allocations: 46.27 kB / 0.7823 GB, free: 6.77 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.167, allocations: 16.38 kB / 0.7823 GB, free: 6.754 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.1674, allocations: 186.1 kB / 0.7825 GB, free: 6.566 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1674, allocations: 3.938 kB / 0.7825 GB, free: 6.562 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.1674, allocations: 8 kB / 0.7825 GB, free: 6.555 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1675, allocations: 7.984 kB / 0.7825 GB, free: 6.547 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.1679, allocations: 192.6 kB / 0.7827 GB, free: 6.359 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.1693, allocations: 0.9112 MB / 0.7836 GB, free: 5.324 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004849/0.1698, allocations: 186.5 kB / 0.7837 GB, free: 5.133 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.17, allocations: 80.81 kB / 0.7838 GB, free: 5.051 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006134/0.1707, allocations: 0.5259 MB / 0.7843 GB, free: 4.414 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1707, allocations: 30.56 kB / 0.7844 GB, free: 4.375 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.1707, allocations: 0 / 0.7844 GB, free: 4.375 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.000716/0.1714, allocations: 257.6 kB / 0.7846 GB, free: 4.117 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.1715, allocations: 59.34 kB / 0.7847 GB, free: 4.047 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.1716, allocations: 152.7 kB / 0.7848 GB, free: 3.891 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.1717, allocations: 33.7 kB / 0.7848 GB, free: 3.852 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.1717, allocations: 115.8 kB / 0.7849 GB, free: 3.734 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.1718, allocations: 47.3 kB / 0.785 GB, free: 3.688 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/0.1718, allocations: 4 kB / 0.785 GB, free: 3.684 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1719, allocations: 326.8 kB / 0.7853 GB, free: 3.355 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.1721, allocations: 75.95 kB / 0.7854 GB, free: 3.281 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.1724, allocations: 103.5 kB / 0.7855 GB, free: 3.176 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.1727, allocations: 146.7 kB / 0.7856 GB, free: 3.027 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1727, allocations: 3.938 kB / 0.7856 GB, free: 3.023 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004666/0.1732, allocations: 231.3 kB / 0.7858 GB, free: 2.793 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1732, allocations: 4 kB / 0.7858 GB, free: 2.789 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1732, allocations: 4 kB / 0.7858 GB, free: 2.785 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1733, allocations: 0 / 0.7858 GB, free: 2.785 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.1735, allocations: 43.91 kB / 0.7859 GB, free: 2.742 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1735, allocations: 0 / 0.7859 GB, free: 2.742 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.1737, allocations: 35.77 kB / 0.7859 GB, free: 2.707 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.1737, allocations: 4 kB / 0.7859 GB, free: 2.703 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.com.isOn,com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.1738, allocations: 129.8 kB / 0.786 GB, free: 2.566 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.1739, allocations: 7.906 kB / 0.7861 GB, free: 2.559 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004939/0.1744, allocations: 210.9 kB / 0.7863 GB, free: 2.348 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1744, allocations: 4 kB / 0.7863 GB, free: 2.344 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1744, allocations: 0 / 0.7863 GB, free: 2.344 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1744, allocations: 0 / 0.7863 GB, free: 2.344 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.1758, allocations: 0.9895 MB / 0.7872 GB, free: 1.199 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/0.1758, allocations: 4 kB / 0.7872 GB, free: 1.195 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.176, allocations: 31.92 kB / 0.7873 GB, free: 1.164 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.176, allocations: 4 kB / 0.7873 GB, free: 1.16 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.176, allocations: 3.984 kB / 0.7873 GB, free: 1.156 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.176, allocations: 4 kB / 0.7873 GB, free: 1.152 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.176, allocations: 0 / 0.7873 GB, free: 1.152 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004682/0.1765, allocations: 297 kB / 0.7876 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.1766, allocations: 96.94 kB / 0.7876 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.1766, allocations: 3.938 kB / 0.7877 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.1768, allocations: 23.98 kB / 0.7877 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.1769, allocations: 15.91 kB / 0.7877 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.1769, allocations: 7.984 kB / 0.7877 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.131e-05/0.177, allocations: 122.5 kB / 0.7878 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.177, allocations: 0 / 0.7878 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004187/0.1774, allocations: 127.9 kB / 0.7879 GB, free: 444 kB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004226/0.1778, allocations: 235 kB / 0.7882 GB, free: 200 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004725/0.1783, allocations: 184 kB / 0.7883 GB, free: 16 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1783, allocations: 0 / 0.7883 GB, free: 16 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.1785, allocations: 87.84 kB / 0.7884 GB, free: 15.93 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.1789, allocations: 44.09 kB / 0.7885 GB, free: 15.89 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/0.1796, allocations: 401.4 kB / 0.7888 GB, free: 15.46 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.1799, allocations: 0.705 MB / 0.7895 GB, free: 14.73 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.1801, allocations: 29.8 kB / 0.7896 GB, free: 14.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.1801, allocations: 19.42 kB / 0.7896 GB, free: 14.68 MB / 474.7 MB Notification: Performance of SimCode: time 2e-07/0.1801, allocations: 0 / 0.7896 GB, free: 14.68 MB / 474.7 MB Notification: Performance of Templates: time 0.007281/0.1874, allocations: 4.131 MB / 0.7936 GB, free: 10.56 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)