Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.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.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7646/0.7646, allocations: 143.8 MB / 159.1 MB, free: 6.531 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.0009301/0.0009301, allocations: 183.2 kB / 192 MB, free: 6.73 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.334/1.334, allocations: 225.7 MB / 450.4 MB, free: 4.996 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.0008318/0.0008319, allocations: 115.4 kB / 0.5211 GB, free: 1.656 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.001739/0.001739, allocations: 278.4 kB / 0.6025 GB, free: 49.3 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004795/0.0004796, allocations: 16.8 kB / 0.6948 GB, free: 59.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1507, allocations: 82.45 MB / 0.7753 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.001765/0.1525, allocations: 1.123 MB / 0.7764 GB, free: 13.24 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1537, allocations: 0.9468 MB / 0.7773 GB, free: 12.18 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.1537, allocations: 4 kB / 0.7773 GB, free: 12.18 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 6.783e-05/0.1538, allocations: 3.938 kB / 0.7773 GB, free: 12.18 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.381e-05/0.1539, allocations: 11.92 kB / 0.7773 GB, free: 12.16 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006634/0.1545, allocations: 207.5 kB / 0.7775 GB, free: 11.96 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.1547, allocations: 143.8 kB / 0.7777 GB, free: 11.82 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.401e-05/0.1548, allocations: 4 kB / 0.7777 GB, free: 11.82 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.454e-05/0.1549, allocations: 47.91 kB / 0.7777 GB, free: 11.77 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.077e-05/0.1549, allocations: 35.84 kB / 0.7778 GB, free: 11.73 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.155, allocations: 4 kB / 0.7778 GB, free: 11.73 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002322/0.1552, allocations: 163.8 kB / 0.7779 GB, free: 11.57 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.1553, allocations: 27.91 kB / 0.7779 GB, free: 11.54 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.733e-05/0.1554, allocations: 77.42 kB / 0.778 GB, free: 11.46 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.1557, allocations: 231.7 kB / 0.7782 GB, free: 11.23 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1557, allocations: 0 / 0.7782 GB, free: 11.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1557, allocations: 0 / 0.7782 GB, free: 11.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1557, allocations: 0 / 0.7782 GB, free: 11.23 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005233/0.1562, allocations: 411.2 kB / 0.7786 GB, free: 10.78 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.1563, allocations: 12.03 kB / 0.7786 GB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.1564, allocations: 12.84 kB / 0.7787 GB, free: 10.76 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.1566, allocations: 217.9 kB / 0.7789 GB, free: 10.51 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.1566, allocations: 8.375 kB / 0.7789 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.1566, allocations: 16.36 kB / 0.7789 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1568, allocations: 75.95 kB / 0.779 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1568, allocations: 192 / 0.779 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1568, allocations: 11.88 kB / 0.779 GB, free: 10.39 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1569, allocations: 4 kB / 0.779 GB, free: 10.38 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.683e-05/0.1569, allocations: 43.91 kB / 0.779 GB, free: 10.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.1572, allocations: 234.4 kB / 0.7792 GB, free: 10.06 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.1573, allocations: 81.19 kB / 0.7793 GB, free: 9.961 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.769e-05/0.1574, allocations: 49.81 kB / 0.7794 GB, free: 9.906 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.1574, allocations: 8 kB / 0.7794 GB, free: 9.898 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.1576, allocations: 109.1 kB / 0.7795 GB, free: 9.773 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.1576, allocations: 0 / 0.7795 GB, free: 9.773 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003294/0.1579, allocations: 189.6 kB / 0.7797 GB, free: 9.582 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.158, allocations: 89.09 kB / 0.7797 GB, free: 9.477 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.1581, allocations: 149.8 kB / 0.7799 GB, free: 9.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.1582, allocations: 33.7 kB / 0.7799 GB, free: 9.281 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.1582, allocations: 104.5 kB / 0.78 GB, free: 9.172 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.1583, allocations: 39.45 kB / 0.7801 GB, free: 9.133 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/0.1583, allocations: 0 / 0.7801 GB, free: 9.133 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1584, allocations: 322.8 kB / 0.7804 GB, free: 8.809 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-05/0.1585, allocations: 43.97 kB / 0.7804 GB, free: 8.766 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.1587, allocations: 199.4 kB / 0.7806 GB, free: 8.516 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.1588, allocations: 101.6 kB / 0.7807 GB, free: 8.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1588, allocations: 0 / 0.7807 GB, free: 8.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002067/0.1591, allocations: 161.4 kB / 0.7808 GB, free: 8.246 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1591, allocations: 4 kB / 0.7809 GB, free: 8.242 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.1591, allocations: 4 kB / 0.7809 GB, free: 8.238 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1591, allocations: 0 / 0.7809 GB, free: 8.238 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.1592, allocations: 15.92 kB / 0.7809 GB, free: 8.223 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1592, allocations: 0 / 0.7809 GB, free: 8.223 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.1595, allocations: 95.69 kB / 0.781 GB, free: 8.129 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.1595, allocations: 8 kB / 0.781 GB, free: 8.121 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: 18 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001085/0.1596, allocations: 134.7 kB / 0.7811 GB, free: 7.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.1597, allocations: 11.84 kB / 0.7811 GB, free: 7.969 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.1597, allocations: 12.72 kB / 0.7811 GB, free: 7.957 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.1597, allocations: 4 kB / 0.7811 GB, free: 7.953 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1597, allocations: 3.938 kB / 0.7811 GB, free: 7.949 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.1597, allocations: 96 / 0.7811 GB, free: 7.949 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.1599, allocations: 193.5 kB / 0.7813 GB, free: 7.711 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.1599, allocations: 7.922 kB / 0.7813 GB, free: 7.703 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.1599, allocations: 8 kB / 0.7813 GB, free: 7.695 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1599, allocations: 0 / 0.7813 GB, free: 7.695 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.16, allocations: 11.98 kB / 0.7813 GB, free: 7.684 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.16, allocations: 4 kB / 0.7813 GB, free: 7.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.16, allocations: 0 / 0.7813 GB, free: 7.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.1602, allocations: 177.8 kB / 0.7815 GB, free: 7.484 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.1602, allocations: 96.8 kB / 0.7816 GB, free: 7.371 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.1603, allocations: 7.938 kB / 0.7816 GB, free: 7.363 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.594e-05/0.1603, allocations: 4 kB / 0.7816 GB, free: 7.359 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.1604, allocations: 11.98 kB / 0.7816 GB, free: 7.348 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.1604, allocations: 4 kB / 0.7816 GB, free: 7.344 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.853e-05/0.1605, allocations: 114.2 kB / 0.7817 GB, free: 7.234 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1605, allocations: 0 / 0.7817 GB, free: 7.234 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002698/0.1607, allocations: 71.98 kB / 0.7818 GB, free: 7.164 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: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002284/0.161, allocations: 165 kB / 0.782 GB, free: 6.996 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.1612, allocations: 163.3 kB / 0.7821 GB, free: 6.824 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1612, allocations: 4 kB / 0.7821 GB, free: 6.82 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.336e-05/0.1613, allocations: 43.92 kB / 0.7822 GB, free: 6.777 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.1615, allocations: 15.92 kB / 0.7822 GB, free: 6.762 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.1619, allocations: 246.6 kB / 0.7824 GB, free: 6.484 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.1621, allocations: 0.7004 MB / 0.7831 GB, free: 5.758 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.782e-05/0.1622, allocations: 12.66 kB / 0.7831 GB, free: 5.742 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/0.1622, allocations: 15.38 kB / 0.7831 GB, free: 5.727 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1622, allocations: 0 / 0.7831 GB, free: 5.727 MB / 458.7 MB Notification: Performance of Templates: time 0.004912/0.1671, allocations: 2.395 MB / 0.7855 GB, free: 3.348 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)