Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.413/2.413, allocations: 287.9 MB / 302.9 MB, free: 8.344 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.001758/0.001758, allocations: 173.2 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.002/2.002, allocations: 205.4 MB / 0.6301 GB, free: 10.38 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.001029/0.001029, allocations: 97.98 kB / 0.7434 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.000471, allocations: 11 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1597, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001514/0.1613, allocations: 1.23 MB / 0.98 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1626, allocations: 0.7504 MB / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.129e-05/0.1626, allocations: 0 / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.1627, allocations: 3.938 kB / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.255e-05/0.1628, allocations: 27.89 kB / 0.9807 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.1632, allocations: 99.69 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.676e-05/0.1633, allocations: 63.86 kB / 0.9809 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.643e-05/0.1634, allocations: 7.984 kB / 0.9809 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.996e-05/0.1635, allocations: 39.84 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.931e-05/0.1636, allocations: 43.83 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.87e-05/0.1637, allocations: 8 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.1638, allocations: 67.92 kB / 0.981 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.1639, allocations: 15.92 kB / 0.981 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.1639, allocations: 41.64 kB / 0.9811 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.1642, allocations: 119.9 kB / 0.9812 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.674e-06/0.1642, allocations: 0 / 0.9812 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.715e-06/0.1642, allocations: 0 / 0.9812 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.963e-06/0.1642, 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006579/0.1649, allocations: 0.4884 MB / 0.9817 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1649, allocations: 12.02 kB / 0.9817 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.165, allocations: 11.86 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1651, allocations: 179.4 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.1651, allocations: 8 kB / 0.9819 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.1652, allocations: 4 kB / 0.9819 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.1654, allocations: 89.56 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.961e-06/0.1654, allocations: 0 / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.1654, allocations: 4 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.025e-06/0.1655, allocations: 0 / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.1657, allocations: 51.92 kB / 0.982 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.1662, allocations: 340.7 kB / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.1665, allocations: 78.67 kB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1665, allocations: 0 / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.1668, allocations: 115.5 kB / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.589e-06/0.1668, allocations: 0 / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005191/0.1674, allocations: 177.5 kB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.1674, allocations: 59.39 kB / 0.9828 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.1675, allocations: 144 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1676, allocations: 37.7 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.1676, allocations: 96.05 kB / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.1677, allocations: 23.7 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.1677, allocations: 4 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.733e-05/0.1678, allocations: 322.8 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.1679, allocations: 31.98 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.168, allocations: 73.06 kB / 0.9835 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.1681, allocations: 35.98 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.027e-06/0.1681, allocations: 0 / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003224/0.1685, allocations: 149.4 kB / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1685, allocations: 9.359 kB / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.1685, allocations: 0 / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1686, allocations: 4 kB / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.1687, allocations: 23.86 kB / 0.9837 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.291e-06/0.1687, allocations: 4 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.1689, allocations: 23.83 kB / 0.9837 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.1689, allocations: 8.062 kB / 0.9837 GB, free: 22.83 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 9.447e-05/0.169, allocations: 122.9 kB / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.169, allocations: 7.906 kB / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.1695, allocations: 175.2 kB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.695e-06/0.1695, allocations: 0 / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.363e-06/0.1695, allocations: 0 / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.822e-06/0.1695, allocations: 4 kB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007104/0.1703, allocations: 483.2 kB / 0.9845 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.591e-06/0.1703, allocations: 0 / 0.9845 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.1704, allocations: 12 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.277e-06/0.1704, allocations: 4 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.1705, allocations: 7.984 kB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.922e-06/0.1705, allocations: 4 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.952e-06/0.1705, allocations: 0 / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.1709, allocations: 248.5 kB / 0.9847 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.1709, allocations: 92.88 kB / 0.9848 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.171, allocations: 0 / 0.9848 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.1711, allocations: 19.98 kB / 0.9848 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.1712, allocations: 11.98 kB / 0.9848 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.1713, allocations: 7.984 kB / 0.9848 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.743e-05/0.1713, allocations: 105.5 kB / 0.985 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-06/0.1713, allocations: 0 / 0.985 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000428/0.1718, allocations: 51.92 kB / 0.985 GB, free: 21.41 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0003705/0.1722, allocations: 168.4 kB / 0.9852 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003271/0.1725, allocations: 95.89 kB / 0.9853 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.031e-06/0.1725, allocations: 0 / 0.9853 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.1727, allocations: 60.11 kB / 0.9853 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.173, allocations: 23.88 kB / 0.9853 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005364/0.1735, allocations: 267.1 kB / 0.9856 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.1737, allocations: 0.7082 MB / 0.9863 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.965e-05/0.1738, allocations: 4.562 kB / 0.9863 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.1738, allocations: 23.42 kB / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of SimCode: time 1.442e-06/0.1739, allocations: 0 / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.005551/0.1794, allocations: 1.806 MB / 0.9881 GB, free: 18.22 MB / 0.6198 GB