Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.521/2.521, allocations: 287.9 MB / 302.9 MB, free: 8.316 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.002906/0.002905, allocations: 173.1 kB / 371.4 MB, free: 10.66 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.013/2.013, 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.001052/0.001051, allocations: 90.36 kB / 0.7434 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.0005116, allocations: 14.31 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1604, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001467/0.1619, allocations: 1.203 MB / 0.9799 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1632, allocations: 0.7426 MB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.437e-05/0.1633, allocations: 0 / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.1633, allocations: 7.922 kB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.569e-05/0.1634, allocations: 11.97 kB / 0.9807 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.1639, allocations: 107.6 kB / 0.9808 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.539e-05/0.164, allocations: 47.94 kB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.178e-05/0.1641, allocations: 11.98 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.748e-05/0.1642, allocations: 35.84 kB / 0.9809 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.707e-05/0.1643, allocations: 35.84 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1643, allocations: 4 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.1645, allocations: 63.92 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.1645, allocations: 19.92 kB / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.1646, allocations: 37.7 kB / 0.981 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.1647, allocations: 104 kB / 0.9811 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.309e-06/0.1647, allocations: 0 / 0.9811 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.926e-06/0.1648, allocations: 4 kB / 0.9811 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.218e-06/0.1648, allocations: 0 / 0.9811 GB, free: 25.72 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005998/0.1654, allocations: 450.5 kB / 0.9815 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1654, allocations: 12.03 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.1655, allocations: 7.906 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.1656, allocations: 178.8 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.1656, allocations: 4 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.1657, allocations: 4 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.1659, allocations: 77.64 kB / 0.9818 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1659, allocations: 0 / 0.9818 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1659, allocations: 0 / 0.9818 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.956e-06/0.1659, allocations: 7.938 kB / 0.9818 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.1661, allocations: 51.91 kB / 0.9819 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.1666, allocations: 324.7 kB / 0.9822 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.1668, allocations: 62.56 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1669, allocations: 0 / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.1671, allocations: 99.38 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.754e-06/0.1672, allocations: 0 / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004696/0.1676, allocations: 169.5 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.1677, allocations: 55.36 kB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.737e-05/0.1678, allocations: 131.7 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1678, allocations: 29.7 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.1679, allocations: 96.36 kB / 0.9828 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.1679, allocations: 19.86 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.801e-06/0.1679, allocations: 4 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.704e-05/0.168, allocations: 326.8 kB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.627e-05/0.1681, allocations: 31.92 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1682, allocations: 69.06 kB / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.1684, allocations: 36 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.003e-06/0.1684, allocations: 0 / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003055/0.1687, allocations: 129.4 kB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1687, allocations: 4 kB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/0.1688, allocations: 8.125 kB / 0.9834 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1688, allocations: 0 / 0.9834 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.1689, allocations: 15.98 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1689, allocations: 11.89 kB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.1691, allocations: 23.92 kB / 0.9835 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.1691, allocations: 4 kB / 0.9835 GB, free: 23.08 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.706e-05/0.1692, allocations: 122.2 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.1692, allocations: 11.89 kB / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003778/0.1696, allocations: 149.9 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.496e-06/0.1697, allocations: 0 / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.812e-06/0.1697, allocations: 3.938 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.784e-06/0.1697, allocations: 7.891 kB / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006235/0.1703, allocations: 430.4 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.239e-06/0.1703, allocations: 0 / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.278e-05/0.1704, allocations: 11.98 kB / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.459e-06/0.1705, allocations: 4 kB / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1705, allocations: 0 / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.294e-06/0.1705, allocations: 3.953 kB / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.866e-06/0.1705, allocations: 4 kB / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.1708, allocations: 231.3 kB / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.1709, allocations: 88.95 kB / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.1709, allocations: 0 / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.1711, allocations: 15.98 kB / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.1712, allocations: 19.88 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.1712, allocations: 7.984 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.42e-05/0.1713, allocations: 101.1 kB / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.77e-07/0.1713, allocations: 0 / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000415/0.1717, allocations: 40 kB / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003636/0.1721, allocations: 157.3 kB / 0.9848 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003099/0.1724, allocations: 91.83 kB / 0.9849 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.911e-06/0.1724, allocations: 0 / 0.9849 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.1726, allocations: 47.92 kB / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.1728, allocations: 16.23 kB / 0.985 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.1733, allocations: 229.1 kB / 0.9852 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.1735, allocations: 0.7004 MB / 0.9859 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.128e-05/0.1736, allocations: 12.42 kB / 0.9859 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.1736, allocations: 15.38 kB / 0.9859 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of SimCode: time 2.191e-06/0.1736, allocations: 0 / 0.9859 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of Templates: time 0.005125/0.1788, allocations: 1.631 MB / 0.9875 GB, free: 18.82 MB / 0.6198 GB