Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.636/2.636, allocations: 287.9 MB / 302.9 MB, free: 8.184 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.001435/0.001435, allocations: 189 kB / 371.4 MB, free: 10.65 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.177/2.177, allocations: 205.4 MB / 0.6301 GB, free: 10.36 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.001011/0.001011, allocations: 99.44 kB / 0.7434 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.0004652, allocations: 15.8 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.157, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001189/0.1582, allocations: 449.6 kB / 0.9792 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002988/0.1613, allocations: 1.488 MB / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.57e-05/0.1614, allocations: 4 kB / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.049e-05/0.1615, allocations: 7.922 kB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.1617, allocations: 15.97 kB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.1622, allocations: 107.7 kB / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.1624, allocations: 63.86 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1625, allocations: 19.97 kB / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.1627, allocations: 39.86 kB / 0.9809 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.1629, allocations: 43.88 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.1629, allocations: 4 kB / 0.9809 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002508/0.1632, allocations: 79.81 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.1632, allocations: 11.98 kB / 0.981 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.1633, allocations: 41.64 kB / 0.9811 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.1636, allocations: 131.9 kB / 0.9812 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.521e-06/0.1636, allocations: 0 / 0.9812 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.517e-06/0.1637, allocations: 4 kB / 0.9812 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.525e-06/0.1637, allocations: 0 / 0.9812 GB, free: 25.65 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008087/0.1645, allocations: 408.4 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1646, allocations: 12.03 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.659e-05/0.1647, allocations: 7.906 kB / 0.9816 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.1648, allocations: 179 kB / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-05/0.1649, allocations: 33.7 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.165, allocations: 4 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.1653, allocations: 104.2 kB / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1653, allocations: 0 / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.1653, allocations: 7.984 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.353e-06/0.1654, allocations: 0 / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.1656, allocations: 51.91 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008609/0.1664, allocations: 0.5166 MB / 0.9825 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007559/0.1672, allocations: 135.8 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.1673, allocations: 3.938 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003162/0.1676, allocations: 121.9 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 4.102e-06/0.1676, allocations: 0 / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005497/0.1682, allocations: 141.5 kB / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.1683, allocations: 106.8 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1684, allocations: 133.7 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.1685, allocations: 29.83 kB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.1686, allocations: 92.33 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.1686, allocations: 35.55 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/0.1686, allocations: 0 / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.11e-05/0.1687, allocations: 322.8 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.1689, allocations: 35.92 kB / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.1691, allocations: 47.81 kB / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.1693, allocations: 35.98 kB / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.3e-06/0.1694, allocations: 4 kB / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005561/0.1699, allocations: 129.5 kB / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.17, allocations: 4 kB / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.237e-06/0.17, allocations: 0 / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.17, allocations: 3.953 kB / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.1703, allocations: 23.92 kB / 0.9838 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.1703, allocations: 0 / 0.9838 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.1706, allocations: 15.84 kB / 0.9838 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.1706, allocations: 11.98 kB / 0.9838 GB, free: 22.66 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: 7 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001532/0.1708, allocations: 121.8 kB / 0.9839 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.1709, allocations: 7.906 kB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.1713, allocations: 122.4 kB / 0.9841 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.169e-06/0.1714, allocations: 3.953 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.842e-06/0.1714, allocations: 8 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.1714, allocations: 4 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.1717, allocations: 217.5 kB / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1717, allocations: 0 / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.1718, allocations: 23.92 kB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.034e-06/0.1718, allocations: 0 / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.1719, allocations: 8 kB / 0.9843 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.863e-06/0.1719, allocations: 0 / 0.9843 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.422e-06/0.1719, allocations: 3.953 kB / 0.9843 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.1722, allocations: 186.2 kB / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.277e-05/0.1723, allocations: 108.8 kB / 0.9846 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.1723, allocations: 7.938 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.1724, allocations: 15.94 kB / 0.9846 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.1725, allocations: 15.92 kB / 0.9846 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.1725, allocations: 4 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.192e-05/0.1726, allocations: 101.1 kB / 0.9847 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.16e-07/0.1726, allocations: 4 kB / 0.9848 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003557/0.173, allocations: 55.92 kB / 0.9848 GB, free: 21.54 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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.0002189/0.1732, allocations: 147.1 kB / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000278/0.1735, allocations: 91.89 kB / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.497e-06/0.1735, allocations: 4 kB / 0.985 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.1737, allocations: 51.92 kB / 0.9851 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.1739, allocations: 13.62 kB / 0.9851 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.1744, allocations: 273.5 kB / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.1745, allocations: 0.7043 MB / 0.986 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001072/0.1747, allocations: 21.09 kB / 0.9861 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.1747, allocations: 15.44 kB / 0.9861 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of SimCode: time 1.45e-06/0.1747, allocations: 0 / 0.9861 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.005139/0.1799, allocations: 1.556 MB / 0.9876 GB, free: 18.61 MB / 0.6198 GB