Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7452/0.7452, allocations: 143.8 MB / 159.1 MB, free: 6.488 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.001006/0.001006, allocations: 175.2 kB / 192 MB, free: 6.738 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.326/1.326, allocations: 225.7 MB / 450.4 MB, free: 4.957 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.0007868/0.0007868, allocations: 103.5 kB / 0.5211 GB, free: 1.617 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.001668/0.001668, allocations: 275.2 kB / 0.6025 GB, free: 49.32 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004084, allocations: 14 kB / 0.6948 GB, free: 59.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1503, allocations: 82.46 MB / 0.7753 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001901/0.1522, allocations: 1.497 MB / 0.7768 GB, free: 12.88 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002476/0.1525, allocations: 119.9 kB / 0.7769 GB, free: 12.76 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.683e-05/0.1526, allocations: 0 / 0.7769 GB, free: 12.76 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 9.988e-05/0.1527, allocations: 11.86 kB / 0.7769 GB, free: 12.75 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 9.465e-05/0.1528, allocations: 51.61 kB / 0.7769 GB, free: 12.7 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001093/0.153, allocations: 27.97 kB / 0.777 GB, free: 12.67 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.1531, allocations: 163.1 kB / 0.7771 GB, free: 12.51 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1533, allocations: 29.06 kB / 0.7771 GB, free: 12.48 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.582e-05/0.1533, allocations: 47.78 kB / 0.7772 GB, free: 12.43 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.361e-05/0.1534, allocations: 59.75 kB / 0.7772 GB, free: 12.38 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.1535, allocations: 4 kB / 0.7773 GB, free: 12.37 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.294e-05/0.1535, allocations: 8 kB / 0.7773 GB, free: 12.36 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.1535, allocations: 23.84 kB / 0.7773 GB, free: 12.34 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.269e-05/0.1536, allocations: 77.44 kB / 0.7774 GB, free: 12.26 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.1537, allocations: 119.5 kB / 0.7775 GB, free: 12.14 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1537, allocations: 0 / 0.7775 GB, free: 12.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1538, allocations: 0 / 0.7775 GB, free: 12.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1538, allocations: 11.94 kB / 0.7775 GB, free: 12.13 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006893/0.1545, allocations: 439 kB / 0.7779 GB, free: 11.65 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.1545, allocations: 12.03 kB / 0.7779 GB, free: 11.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.1545, allocations: 12.84 kB / 0.7779 GB, free: 11.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.1548, allocations: 211.9 kB / 0.7781 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1548, allocations: 12.38 kB / 0.7781 GB, free: 11.37 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.1548, allocations: 4.375 kB / 0.7781 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.1551, allocations: 127.8 kB / 0.7783 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1551, allocations: 192 / 0.7783 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.1551, allocations: 7.938 kB / 0.7783 GB, free: 11.22 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.1551, allocations: 4 kB / 0.7783 GB, free: 11.21 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/0.1554, allocations: 111.9 kB / 0.7784 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.1561, allocations: 472.8 kB / 0.7788 GB, free: 10.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.1565, allocations: 133.2 kB / 0.779 GB, free: 10.44 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.1567, allocations: 69.78 kB / 0.779 GB, free: 10.37 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.1567, allocations: 7.969 kB / 0.779 GB, free: 10.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.1567, allocations: 38.5 kB / 0.7791 GB, free: 10.31 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.1567, allocations: 0 / 0.7791 GB, free: 10.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005741/0.1573, allocations: 201.4 kB / 0.7793 GB, free: 10.11 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.1574, allocations: 77.11 kB / 0.7793 GB, free: 10.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1575, allocations: 177.3 kB / 0.7795 GB, free: 9.836 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1576, allocations: 29.7 kB / 0.7795 GB, free: 9.801 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.1576, allocations: 112.1 kB / 0.7796 GB, free: 9.688 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.1577, allocations: 27.56 kB / 0.7797 GB, free: 9.66 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.1577, allocations: 0 / 0.7797 GB, free: 9.66 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1578, allocations: 326.8 kB / 0.78 GB, free: 9.332 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.158, allocations: 51.97 kB / 0.78 GB, free: 9.281 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.1581, allocations: 65.67 kB / 0.7801 GB, free: 9.211 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.1584, allocations: 121.6 kB / 0.7802 GB, free: 9.086 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1584, allocations: 0 / 0.7802 GB, free: 9.086 MB / 458.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003427/0.1587, allocations: 157.5 kB / 0.7804 GB, free: 8.926 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1588, allocations: 4 kB / 0.7804 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1588, allocations: 3.938 kB / 0.7804 GB, free: 8.918 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1588, allocations: 4 kB / 0.7804 GB, free: 8.914 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.1589, allocations: 28.34 kB / 0.7804 GB, free: 8.887 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.159, allocations: 192 / 0.7804 GB, free: 8.887 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.1591, allocations: 15.91 kB / 0.7804 GB, free: 8.871 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.1591, allocations: 23.86 kB / 0.7804 GB, free: 8.848 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.334e-05/0.1592, allocations: 114.4 kB / 0.7805 GB, free: 8.727 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.1592, allocations: 11.91 kB / 0.7806 GB, free: 8.715 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.1596, allocations: 170.5 kB / 0.7807 GB, free: 8.547 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1597, allocations: 0 / 0.7807 GB, free: 8.547 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1597, allocations: 0 / 0.7807 GB, free: 8.547 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.1597, allocations: 7.984 kB / 0.7807 GB, free: 8.539 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.1599, allocations: 225.5 kB / 0.7809 GB, free: 8.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1599, allocations: 0 / 0.7809 GB, free: 8.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.1601, allocations: 31.92 kB / 0.781 GB, free: 8.238 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1601, allocations: 4 kB / 0.781 GB, free: 8.234 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1601, allocations: 0 / 0.781 GB, free: 8.234 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1601, allocations: 0 / 0.781 GB, free: 8.234 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1601, allocations: 0 / 0.781 GB, free: 8.234 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.1605, allocations: 330.5 kB / 0.7813 GB, free: 7.895 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.1606, allocations: 92.92 kB / 0.7814 GB, free: 7.785 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.1606, allocations: 0 / 0.7814 GB, free: 7.785 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.1608, allocations: 19.98 kB / 0.7814 GB, free: 7.766 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.1608, allocations: 7.984 kB / 0.7814 GB, free: 7.758 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1609, allocations: 11.88 kB / 0.7814 GB, free: 7.746 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.594e-05/0.161, allocations: 120.8 kB / 0.7815 GB, free: 7.629 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.161, allocations: 0 / 0.7815 GB, free: 7.629 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002512/0.1612, allocations: 32 kB / 0.7816 GB, free: 7.598 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 9.984e-05/0.1613, allocations: 99.25 kB / 0.7817 GB, free: 7.488 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003289/0.1617, allocations: 119.9 kB / 0.7818 GB, free: 7.371 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1617, allocations: 0 / 0.7818 GB, free: 7.371 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.1618, allocations: 71.89 kB / 0.7818 GB, free: 7.301 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.1622, allocations: 32.02 kB / 0.7819 GB, free: 7.27 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.1627, allocations: 269.1 kB / 0.7821 GB, free: 6.977 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.1629, allocations: 0.7087 MB / 0.7828 GB, free: 6.242 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.994e-05/0.163, allocations: 20.62 kB / 0.7828 GB, free: 6.223 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.1631, allocations: 15.44 kB / 0.7829 GB, free: 6.207 MB / 458.7 MB Notification: Performance of SimCode: time 4e-07/0.1631, allocations: 0 / 0.7829 GB, free: 6.207 MB / 458.7 MB Notification: Performance of Templates: time 0.004227/0.1673, allocations: 1.913 MB / 0.7847 GB, free: 4.32 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)