Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.5/2.5, allocations: 287.9 MB / 302.9 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00141/0.00141, allocations: 177.4 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001052, allocations: 87.14 kB / 0.7434 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004756/0.000476, allocations: 11 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1582, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.00135/0.1596, allocations: 1.12 MB / 0.9798 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007485/0.1604, allocations: 439.8 kB / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.031e-05/0.1604, allocations: 4 kB / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.465e-05/0.1605, allocations: 7.984 kB / 0.9803 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.902e-05/0.1606, allocations: 11.98 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006977/0.1613, allocations: 190.1 kB / 0.9805 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1614, allocations: 83.91 kB / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.421e-05/0.1615, allocations: 4 kB / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.231e-05/0.1616, allocations: 59.77 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.837e-05/0.1617, allocations: 43.89 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.1617, allocations: 8 kB / 0.9807 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.162, allocations: 139.8 kB / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.1621, allocations: 31.91 kB / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.1621, allocations: 41.64 kB / 0.9809 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.1624, allocations: 160 kB / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.319e-06/0.1624, allocations: 0 / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.232e-06/0.1624, allocations: 0 / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.165e-06/0.1624, allocations: 0 / 0.981 GB, free: 25.87 MB / 0.6198 GB 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.0004634/0.1629, allocations: 424 kB / 0.9814 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1629, allocations: 15.95 kB / 0.9814 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.163, allocations: 15.81 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.1632, allocations: 202.9 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.1632, allocations: 12 kB / 0.9816 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.1633, allocations: 8 kB / 0.9817 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1634, allocations: 87.31 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.318e-06/0.1635, allocations: 4 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1635, allocations: 0 / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-06/0.1635, allocations: 3.984 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.777e-05/0.1636, allocations: 35.98 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.1638, allocations: 242.3 kB / 0.982 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.1639, allocations: 77.14 kB / 0.9821 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.164, allocations: 4 kB / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.1642, allocations: 113.2 kB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 2.422e-06/0.1642, allocations: 0 / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0004309/0.1647, allocations: 339.7 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.1647, allocations: 85.09 kB / 0.9826 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.1648, allocations: 163.2 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.1649, allocations: 33.7 kB / 0.9828 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.165, allocations: 104.5 kB / 0.9829 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/0.165, allocations: 39.55 kB / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/0.165, allocations: 0 / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.1651, allocations: 326.8 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.458e-05/0.1652, allocations: 36.17 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.1654, allocations: 203.7 kB / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.1656, allocations: 59.92 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.849e-06/0.1656, allocations: 0 / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002878/0.1659, allocations: 157.4 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1659, allocations: 9.25 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/0.1659, allocations: 0 / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.166, allocations: 4 kB / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.964e-05/0.1661, allocations: 19.88 kB / 0.9837 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.56e-06/0.1661, allocations: 0 / 0.9837 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/0.1664, allocations: 89.67 kB / 0.9838 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.1665, allocations: 7.953 kB / 0.9838 GB, free: 22.67 MB / 0.6198 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.1666, allocations: 134.7 kB / 0.9839 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.1666, allocations: 11.81 kB / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.1667, allocations: 16.7 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.679e-06/0.1667, allocations: 0 / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.332e-06/0.1667, allocations: 8 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.654e-06/0.1667, allocations: 0 / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.1669, allocations: 193.6 kB / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.817e-06/0.1669, allocations: 0 / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.74e-05/0.1669, allocations: 15.94 kB / 0.9842 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.195e-06/0.1669, allocations: 0 / 0.9842 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.167, allocations: 0 / 0.9842 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.834e-06/0.167, allocations: 4 kB / 0.9842 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.437e-06/0.167, allocations: 0.625 kB / 0.9842 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.1673, allocations: 199.4 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.1673, allocations: 88.95 kB / 0.9844 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.1673, allocations: 3.984 kB / 0.9844 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.173e-05/0.1674, allocations: 8 kB / 0.9845 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.1675, allocations: 11.92 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1675, allocations: 4 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.179e-05/0.1676, allocations: 117.6 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.85e-07/0.1676, allocations: 0 / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003835/0.168, allocations: 72 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002568/0.1682, allocations: 167.3 kB / 0.9848 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002766/0.1685, allocations: 171.3 kB / 0.985 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.949e-06/0.1685, allocations: 0 / 0.985 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.514e-05/0.1686, allocations: 43.98 kB / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.1688, allocations: 0 / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.1692, allocations: 248.7 kB / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.1694, allocations: 0.7043 MB / 0.9859 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.137e-05/0.1695, allocations: 16.61 kB / 0.986 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.1695, allocations: 11.44 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of SimCode: time 1.596e-06/0.1695, allocations: 0 / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of Templates: time 0.006221/0.1758, allocations: 2.329 MB / 0.9882 GB, free: 17.96 MB / 0.6198 GB