Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006051/0.006051, allocations: 101.2 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6602/0.6602, allocations: 95.48 MB / 365.4 MB, free: 9.789 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 76.55 kB / 0.5036 GB, free: 13.51 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1531, allocations: 69.09 MB / 0.5711 GB, free: 8.363 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002534/0.1557, allocations: 1.434 MB / 0.5725 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007478/0.1565, allocations: 402.9 kB / 0.5728 GB, free: 6.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.723e-05/0.1566, allocations: 3.938 kB / 0.5728 GB, free: 6.516 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.455e-05/0.1567, allocations: 11.94 kB / 0.5729 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.1568, allocations: 19.86 kB / 0.5729 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005936/0.1574, allocations: 233.7 kB / 0.5731 GB, free: 6.262 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.1578, allocations: 363.5 kB / 0.5734 GB, free: 5.906 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.397e-05/0.1579, allocations: 12.11 kB / 0.5735 GB, free: 5.891 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.1581, allocations: 135.8 kB / 0.5736 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.1582, allocations: 119.6 kB / 0.5737 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.799e-05/0.1583, allocations: 28 kB / 0.5737 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1584, allocations: 55.98 kB / 0.5738 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.1585, allocations: 19.92 kB / 0.5738 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.1586, allocations: 111.7 kB / 0.5739 GB, free: 5.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.1589, allocations: 263.2 kB / 0.5742 GB, free: 5.172 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.159, allocations: 0 / 0.5742 GB, free: 5.172 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.159, allocations: 0 / 0.5742 GB, free: 5.172 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.159, allocations: 0 / 0.5742 GB, free: 5.172 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006473/0.1596, allocations: 0.5876 MB / 0.5747 GB, free: 4.508 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1597, allocations: 11.98 kB / 0.5747 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.51e-05/0.1598, allocations: 24.84 kB / 0.5748 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.1601, allocations: 236.1 kB / 0.575 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.1601, allocations: 16.38 kB / 0.575 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/0.1602, allocations: 24.38 kB / 0.575 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.1606, allocations: 189.5 kB / 0.5752 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1606, allocations: 192 / 0.5752 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.1606, allocations: 7.938 kB / 0.5752 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1606, allocations: 0 / 0.5752 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.1608, allocations: 95.89 kB / 0.5753 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.1612, allocations: 331.9 kB / 0.5756 GB, free: 3.477 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.1614, allocations: 238.7 kB / 0.5758 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.1616, allocations: 191.4 kB / 0.576 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.1617, allocations: 3.984 kB / 0.576 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004851/0.1622, allocations: 330.7 kB / 0.5763 GB, free: 2.633 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.283e-06/0.1622, allocations: 0 / 0.5763 GB, free: 2.633 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.000801/0.163, allocations: 480.5 kB / 0.5768 GB, free: 2.145 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/0.1632, allocations: 318.7 kB / 0.5771 GB, free: 1.766 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.1633, allocations: 153 kB / 0.5773 GB, free: 1.609 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.183e-05/0.1634, allocations: 45.7 kB / 0.5773 GB, free: 1.559 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.1635, allocations: 100.6 kB / 0.5774 GB, free: 1.453 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.238e-05/0.1636, allocations: 67.19 kB / 0.5775 GB, free: 1.387 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.1637, allocations: 93.59 kB / 0.5776 GB, free: 1.289 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1639, allocations: 326.8 kB / 0.5779 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.1643, allocations: 191.9 kB / 0.578 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/0.1646, allocations: 235.7 kB / 0.5783 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.1651, allocations: 429.8 kB / 0.5787 GB, free: 68 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1651, allocations: 4 kB / 0.5787 GB, free: 64 kB / 446.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001182/0.1663, allocations: 0.8278 MB / 0.5795 GB, free: 15.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.1664, allocations: 150.7 kB / 0.5796 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1665, allocations: 4 kB / 0.5796 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1665, allocations: 4 kB / 0.5796 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.1666, allocations: 7.938 kB / 0.5797 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.1666, allocations: 4 kB / 0.5797 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/0.1672, allocations: 99.72 kB / 0.5797 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.079e-05/0.1672, allocations: 27.98 kB / 0.5798 GB, free: 14.89 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.iPerSto,$PRE.occSchDay.iPerSto,occSchDay.iPerSta,$PRE.occSchDay.iPerSta,occSchDay.nexStoInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStaInd,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition4,$whenCondition3,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.iPerSto,$PRE.occSchWee.iPerSto,occSchWee.iPerSta,$PRE.occSchWee.iPerSta,occSchWee.nexStoInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStaInd,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0003123/0.1676, allocations: 231.8 kB / 0.58 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.1676, allocations: 27.75 kB / 0.58 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.1677, allocations: 8.719 kB / 0.58 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1677, allocations: 4 kB / 0.58 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1677, allocations: 0 / 0.58 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1677, allocations: 3.984 kB / 0.58 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.1679, allocations: 261.3 kB / 0.5803 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1679, allocations: 0 / 0.5803 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.255e-05/0.168, allocations: 11.92 kB / 0.5803 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.168, allocations: 7.938 kB / 0.5803 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.168, allocations: 12 kB / 0.5803 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.168, allocations: 4 kB / 0.5803 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.168, allocations: 0 / 0.5803 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006022/0.1686, allocations: 476 kB / 0.5808 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.1687, allocations: 96.86 kB / 0.5809 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.109e-05/0.1688, allocations: 23.88 kB / 0.5809 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.169, allocations: 31.95 kB / 0.5809 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.1691, allocations: 11.98 kB / 0.5809 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.1691, allocations: 20 kB / 0.581 GB, free: 13.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.355e-05/0.1692, allocations: 113.5 kB / 0.5811 GB, free: 13.44 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1692, allocations: 0 / 0.5811 GB, free: 13.44 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000311/0.1695, allocations: 84 kB / 0.5811 GB, free: 13.36 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc,$whenCondition1,$whenCondition2,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc) * Number of discrete states: 18 (occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,$whenCondition2,occSchWee.tOcc,occSchWee.iPerSta,occSchWee.occupied,occSchWee.nexStaInd,$whenCondition1,occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,$whenCondition4,occSchDay.tOcc,occSchDay.iPerSta,occSchDay.occupied,occSchDay.nexStaInd,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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.0001933/0.1697, allocations: 141.2 kB / 0.5813 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.1708, allocations: 0.8799 MB / 0.5821 GB, free: 12.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1708, allocations: 128 / 0.5821 GB, free: 12.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005519/0.1713, allocations: 0.5691 MB / 0.5827 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.1716, allocations: 28.5 kB / 0.5827 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008701/0.1725, allocations: 401.8 kB / 0.5831 GB, free: 11.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.173, allocations: 0.7202 MB / 0.5838 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.682e-05/0.173, allocations: 4.672 kB / 0.5838 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.173, allocations: 11.44 kB / 0.5838 GB, free: 10.47 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.173, allocations: 3.938 kB / 0.5838 GB, free: 10.46 MB / 462.1 MB Notification: Performance of Templates: time 0.008047/0.1811, allocations: 4.143 MB / 0.5879 GB, free: 6.371 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)