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 4.969/4.969, allocations: 0.5623 GB / 0.5769 GB, free: 3.336 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002412/0.002412, allocations: 361.3 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.17/4.17, allocations: 410.7 MB / 1.112 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002566/0.002566, allocations: 173.3 kB / 1.225 GB, free: 36.04 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004753, allocations: 8 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1559, allocations: 115.3 MB / 1.461 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001454/0.1574, allocations: 1.216 MB / 1.462 GB, free: 5.422 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1586, allocations: 0.7492 MB / 1.463 GB, free: 4.664 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.1587, allocations: 0 / 1.463 GB, free: 4.664 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.1587, allocations: 0 / 1.463 GB, free: 4.664 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.735e-05/0.1588, allocations: 19.84 kB / 1.463 GB, free: 4.645 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.1592, allocations: 91.7 kB / 1.463 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.597e-05/0.1594, allocations: 83.7 kB / 1.463 GB, free: 4.473 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.866e-05/0.1594, allocations: 11.94 kB / 1.463 GB, free: 4.461 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.457e-05/0.1595, allocations: 43.83 kB / 1.463 GB, free: 4.418 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/0.1596, allocations: 27.91 kB / 1.463 GB, free: 4.391 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.1597, allocations: 7.938 kB / 1.463 GB, free: 4.383 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.1599, allocations: 79.91 kB / 1.463 GB, free: 4.305 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.1599, allocations: 15.92 kB / 1.463 GB, free: 4.289 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.1599, allocations: 37.7 kB / 1.463 GB, free: 4.246 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1601, allocations: 108 kB / 1.463 GB, free: 4.141 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.992e-06/0.1601, allocations: 4 kB / 1.463 GB, free: 4.137 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.113e-06/0.1602, allocations: 3.938 kB / 1.463 GB, free: 4.133 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.974e-06/0.1602, allocations: 0 / 1.463 GB, free: 4.133 MB / 0.6042 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.0006508/0.1608, allocations: 458.5 kB / 1.464 GB, free: 3.625 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1609, allocations: 12.03 kB / 1.464 GB, free: 3.613 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.1609, allocations: 15.89 kB / 1.464 GB, free: 3.598 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.586e-05/0.161, allocations: 178.9 kB / 1.464 GB, free: 3.383 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-05/0.1611, allocations: 37.69 kB / 1.464 GB, free: 3.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.1612, allocations: 4 kB / 1.464 GB, free: 3.336 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.1614, allocations: 77.58 kB / 1.464 GB, free: 3.254 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.433e-06/0.1614, allocations: 0 / 1.464 GB, free: 3.254 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1614, allocations: 4 kB / 1.464 GB, free: 3.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.58e-06/0.1614, allocations: 0 / 1.464 GB, free: 3.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.1617, allocations: 51.97 kB / 1.464 GB, free: 3.199 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.1622, allocations: 328.7 kB / 1.464 GB, free: 2.828 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.1625, allocations: 74.58 kB / 1.464 GB, free: 2.746 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.1626, allocations: 48.83 kB / 1.464 GB, free: 2.695 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.1627, allocations: 3.984 kB / 1.464 GB, free: 2.691 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.1629, allocations: 103.3 kB / 1.464 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.447e-06/0.163, allocations: 0 / 1.464 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.000567/0.1635, allocations: 173.4 kB / 1.465 GB, free: 2.402 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.1636, allocations: 55.41 kB / 1.465 GB, free: 2.336 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1637, allocations: 137.6 kB / 1.465 GB, free: 2.195 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1638, allocations: 29.7 kB / 1.465 GB, free: 2.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.1638, allocations: 100.3 kB / 1.465 GB, free: 2.059 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.1638, allocations: 27.8 kB / 1.465 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.949e-06/0.1639, allocations: 0 / 1.465 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.552e-05/0.1639, allocations: 322.8 kB / 1.465 GB, free: 1.707 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.1641, allocations: 35.91 kB / 1.465 GB, free: 1.672 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.1642, allocations: 73.12 kB / 1.465 GB, free: 1.582 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.1644, allocations: 35.98 kB / 1.465 GB, free: 1.547 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1644, allocations: 4 kB / 1.465 GB, free: 1.543 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003577/0.1648, allocations: 133.4 kB / 1.466 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1648, allocations: 8 kB / 1.466 GB, free: 1.398 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.999e-06/0.1648, allocations: 0 / 1.466 GB, free: 1.398 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1648, allocations: 7.953 kB / 1.466 GB, free: 1.391 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.165, allocations: 24.05 kB / 1.466 GB, free: 1.367 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.165, allocations: 3.984 kB / 1.466 GB, free: 1.363 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.1652, allocations: 19.91 kB / 1.466 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.1652, allocations: 7.984 kB / 1.466 GB, free: 1.336 MB / 0.6042 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 0.0001389/0.1653, allocations: 126.3 kB / 1.466 GB, free: 1.203 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.1654, allocations: 7.906 kB / 1.466 GB, free: 1.195 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.1654, allocations: 12.72 kB / 1.466 GB, free: 1.188 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.645e-06/0.1654, allocations: 0 / 1.466 GB, free: 1.188 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.538e-06/0.1655, allocations: 7.953 kB / 1.466 GB, free: 1.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1655, allocations: 3.984 kB / 1.466 GB, free: 1.176 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008605/0.1663, allocations: 430.7 kB / 1.466 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1664, allocations: 0 / 1.466 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.1665, allocations: 11.98 kB / 1.466 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.1665, allocations: 3.953 kB / 1.466 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1665, allocations: 0 / 1.466 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1665, allocations: 4 kB / 1.466 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.905e-06/0.1665, allocations: 0 / 1.466 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/0.167, allocations: 239.2 kB / 1.466 GB, free: 440 kB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/0.1671, allocations: 81.02 kB / 1.467 GB, free: 340 kB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.1671, allocations: 7.953 kB / 1.467 GB, free: 332 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.1673, allocations: 15.98 kB / 1.467 GB, free: 316 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.1674, allocations: 11.97 kB / 1.467 GB, free: 304 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.1674, allocations: 4 kB / 1.467 GB, free: 300 kB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.947e-05/0.1675, allocations: 103.3 kB / 1.467 GB, free: 196 kB / 0.6042 GB Notification: Performance of sort global known variables: time 3.029e-06/0.1675, allocations: 0 / 1.467 GB, free: 196 kB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004315/0.168, allocations: 47.92 kB / 1.467 GB, free: 148 kB / 0.6042 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.0004421/0.1684, allocations: 166.7 kB / 1.467 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003861/0.1688, allocations: 87.84 kB / 1.467 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1689, allocations: 0 / 1.467 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.1691, allocations: 56.09 kB / 1.467 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.1695, allocations: 20.3 kB / 1.467 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/0.1701, allocations: 231 kB / 1.467 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.1705, allocations: 0.7004 MB / 1.468 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.03e-05/0.1706, allocations: 12.66 kB / 1.468 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.1706, allocations: 11.44 kB / 1.468 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of SimCode: time 1.519e-06/0.1706, allocations: 0 / 1.468 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.005738/0.1764, allocations: 1.614 MB / 1.47 GB, free: 13.22 MB / 0.6198 GB