Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.873/2.873, allocations: 287.9 MB / 302.9 MB, free: 8.336 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.001424/0.001424, allocations: 182.1 kB / 371.4 MB, free: 10.67 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.024/2.024, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001028/0.001028, allocations: 78.88 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.000465, allocations: 18.98 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1665, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001473/0.168, allocations: 1.203 MB / 0.9799 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1693, allocations: 0.758 MB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.1694, allocations: 0 / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.1694, allocations: 0 / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.466e-05/0.1696, allocations: 23.89 kB / 0.9807 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.17, allocations: 83.77 kB / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.209e-05/0.1701, allocations: 59.86 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.066e-05/0.1702, allocations: 15.94 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.732e-05/0.1703, allocations: 35.89 kB / 0.9809 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.1704, allocations: 35.84 kB / 0.9809 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.1704, allocations: 4 kB / 0.9809 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.1706, allocations: 71.86 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.1706, allocations: 11.98 kB / 0.981 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.1707, allocations: 41.64 kB / 0.981 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.1708, allocations: 108 kB / 0.9811 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.826e-06/0.1709, allocations: 4 kB / 0.9811 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.482e-06/0.1709, allocations: 0 / 0.9811 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.191e-06/0.1709, 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.0006569/0.1716, allocations: 462.4 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1716, allocations: 12.03 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.1717, allocations: 15.91 kB / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.71e-05/0.1718, allocations: 178.9 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.946e-05/0.1719, allocations: 33.69 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.1719, allocations: 7.938 kB / 0.9818 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.1721, allocations: 77.64 kB / 0.9819 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.342e-06/0.1722, allocations: 0 / 0.9819 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1722, allocations: 0 / 0.9819 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-06/0.1722, allocations: 0 / 0.9819 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.1724, allocations: 59.95 kB / 0.9819 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005454/0.173, allocations: 328.6 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.1733, allocations: 78.47 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.1733, allocations: 4 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002692/0.1736, allocations: 95.39 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 3.086e-06/0.1736, allocations: 4 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005663/0.1742, allocations: 181.4 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.1742, allocations: 51.41 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1743, allocations: 136.1 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1744, allocations: 25.7 kB / 0.9828 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.1744, allocations: 100.4 kB / 0.9829 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.1745, allocations: 23.66 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.899e-06/0.1745, allocations: 4 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.536e-05/0.1745, allocations: 318.8 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1747, allocations: 27.98 kB / 0.9833 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.1748, allocations: 73.12 kB / 0.9833 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.175, allocations: 39.92 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.919e-06/0.175, allocations: 0 / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003671/0.1754, allocations: 145.4 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1754, allocations: 4 kB / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.314e-06/0.1754, allocations: 4 kB / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1755, allocations: 3.938 kB / 0.9835 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1756, allocations: 19.94 kB / 0.9835 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1756, allocations: 4.125 kB / 0.9835 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.1758, allocations: 23.89 kB / 0.9836 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.1758, allocations: 8 kB / 0.9836 GB, free: 22.97 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 9.26e-05/0.1759, allocations: 123.7 kB / 0.9837 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.176, allocations: 7.906 kB / 0.9837 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.176, allocations: 12.72 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.176, allocations: 0 / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.836e-06/0.176, allocations: 8.328 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.053e-06/0.176, allocations: 0 / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007031/0.1767, allocations: 442.4 kB / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1768, allocations: 0 / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.793e-05/0.1769, allocations: 19.92 kB / 0.9842 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.365e-06/0.1769, allocations: 0 / 0.9842 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.1769, allocations: 3.953 kB / 0.9842 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1769, allocations: 0 / 0.9842 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.015e-06/0.177, allocations: 0 / 0.9842 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000386/0.1774, allocations: 239.2 kB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.1774, allocations: 85.02 kB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.1774, allocations: 0 / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.1776, allocations: 23.94 kB / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.1777, allocations: 11.98 kB / 0.9845 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.1777, allocations: 3.984 kB / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.907e-05/0.1778, allocations: 101.5 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.73e-07/0.1778, allocations: 4 kB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000425/0.1782, allocations: 40 kB / 0.9847 GB, free: 21.77 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 (10): * Single equations (assignments): 7 * 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.0003797/0.1786, allocations: 157.7 kB / 0.9848 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003606/0.179, allocations: 103.9 kB / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.762e-06/0.179, allocations: 0 / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.1792, allocations: 47.91 kB / 0.9849 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.1795, allocations: 15.98 kB / 0.985 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000534/0.18, allocations: 230.2 kB / 0.9852 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.1802, allocations: 0.7004 MB / 0.9859 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.666e-05/0.1803, allocations: 8.672 kB / 0.9859 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.1803, allocations: 15.42 kB / 0.9859 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of SimCode: time 1.361e-06/0.1803, allocations: 0 / 0.9859 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.005189/0.1855, allocations: 1.609 MB / 0.9875 GB, free: 18.86 MB / 0.6198 GB