Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.985/4.985, allocations: 0.5623 GB / 0.5769 GB, free: 3.293 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.003783/0.003783, allocations: 359.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 3.987/3.987, allocations: 410.7 MB / 1.112 GB, free: 147.8 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.001699/0.001699, allocations: 183.8 kB / 1.225 GB, free: 35.91 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004776, allocations: 12 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.156, allocations: 115.2 MB / 1.461 GB, free: 6.602 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001537/0.1575, allocations: 1.336 MB / 1.462 GB, free: 5.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.1588, allocations: 0.7727 MB / 1.463 GB, free: 4.469 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.51e-05/0.1589, allocations: 0 / 1.463 GB, free: 4.469 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.1589, allocations: 11.92 kB / 1.463 GB, free: 4.457 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.874e-05/0.159, allocations: 15.86 kB / 1.463 GB, free: 4.441 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004837/0.1595, allocations: 119.6 kB / 1.463 GB, free: 4.324 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.1596, allocations: 131.5 kB / 1.463 GB, free: 4.195 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1597, allocations: 21.11 kB / 1.463 GB, free: 4.172 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.1599, allocations: 51.83 kB / 1.463 GB, free: 4.121 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.16, allocations: 71.72 kB / 1.463 GB, free: 4.051 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.16, allocations: 8 kB / 1.463 GB, free: 4.043 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.1602, allocations: 91.78 kB / 1.463 GB, free: 3.953 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.1603, allocations: 27.89 kB / 1.463 GB, free: 3.926 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.1603, allocations: 45.64 kB / 1.463 GB, free: 3.875 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.1605, allocations: 140 kB / 1.463 GB, free: 3.738 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1605, allocations: 0 / 1.463 GB, free: 3.738 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.342e-06/0.1605, allocations: 4 kB / 1.463 GB, free: 3.734 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.952e-06/0.1606, allocations: 0 / 1.463 GB, free: 3.734 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006432/0.1612, allocations: 0.5274 MB / 1.464 GB, free: 3.137 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1612, allocations: 8.031 kB / 1.464 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.1613, allocations: 15.81 kB / 1.464 GB, free: 3.113 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.528e-05/0.1614, allocations: 184.8 kB / 1.464 GB, free: 2.895 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.1614, allocations: 8 kB / 1.464 GB, free: 2.887 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.1615, allocations: 11.94 kB / 1.464 GB, free: 2.875 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004963/0.162, allocations: 153.5 kB / 1.464 GB, free: 2.719 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.791e-06/0.162, allocations: 0 / 1.464 GB, free: 2.719 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.162, allocations: 4 kB / 1.464 GB, free: 2.715 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.933e-06/0.1621, allocations: 4 kB / 1.464 GB, free: 2.711 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.1625, allocations: 119.9 kB / 1.464 GB, free: 2.594 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007696/0.1633, allocations: 392.6 kB / 1.465 GB, free: 2.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004755/0.1638, allocations: 122.5 kB / 1.465 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/0.1642, allocations: 96.78 kB / 1.465 GB, free: 1.934 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.1643, allocations: 4 kB / 1.465 GB, free: 1.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004694/0.1647, allocations: 159.2 kB / 1.465 GB, free: 1.762 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.961e-06/0.1648, allocations: 7.938 kB / 1.465 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.001285/0.166, allocations: 353.3 kB / 1.466 GB, free: 1.402 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.1661, allocations: 55.34 kB / 1.466 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.1663, allocations: 149.9 kB / 1.466 GB, free: 1.184 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.1663, allocations: 25.7 kB / 1.466 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.116e-05/0.1664, allocations: 104.3 kB / 1.466 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.1665, allocations: 23.84 kB / 1.466 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.756e-06/0.1665, allocations: 7.875 kB / 1.466 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1667, allocations: 326.8 kB / 1.466 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.1668, allocations: 43.97 kB / 1.466 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.1671, allocations: 89.12 kB / 1.466 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.1673, allocations: 55.97 kB / 1.466 GB, free: 496 kB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.34e-06/0.1673, allocations: 0 / 1.466 GB, free: 496 kB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005504/0.1679, allocations: 173.3 kB / 1.467 GB, free: 316 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1679, allocations: 8 kB / 1.467 GB, free: 308 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.425e-06/0.1679, allocations: 0 / 1.467 GB, free: 308 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.1679, allocations: 15.88 kB / 1.467 GB, free: 292 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.1682, allocations: 23.98 kB / 1.467 GB, free: 268 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.814e-06/0.1682, allocations: 3.984 kB / 1.467 GB, free: 264 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.1683, allocations: 20.08 kB / 1.467 GB, free: 244 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.1684, allocations: 8 kB / 1.467 GB, free: 236 kB / 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: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001413/0.1685, allocations: 125.3 kB / 1.467 GB, free: 104 kB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.1686, allocations: 11.81 kB / 1.467 GB, free: 92 kB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.1686, allocations: 16.7 kB / 1.467 GB, free: 80 kB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.795e-06/0.1686, allocations: 0 / 1.467 GB, free: 80 kB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.1687, allocations: 7.953 kB / 1.467 GB, free: 72 kB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1687, allocations: 0 / 1.467 GB, free: 72 kB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.17, allocations: 0.5531 MB / 1.467 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.368e-06/0.1701, allocations: 4 kB / 1.467 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.1702, allocations: 15.98 kB / 1.467 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.955e-06/0.1702, allocations: 0 / 1.467 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.1703, allocations: 7.953 kB / 1.467 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.675e-06/0.1703, allocations: 3.984 kB / 1.467 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1703, allocations: 0 / 1.467 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.1713, allocations: 355.2 kB / 1.468 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.718e-05/0.1714, allocations: 89.11 kB / 1.468 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.1715, allocations: 3.984 kB / 1.468 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.1718, allocations: 43.86 kB / 1.468 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.1718, allocations: 7.984 kB / 1.468 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.1719, allocations: 4 kB / 1.468 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001051/0.172, allocations: 107.2 kB / 1.468 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.11e-07/0.172, allocations: 0 / 1.468 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004527/0.1725, allocations: 47.94 kB / 1.468 GB, free: 14.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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0004446/0.1729, allocations: 169.4 kB / 1.468 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007126/0.1737, allocations: 163.8 kB / 1.468 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.047e-06/0.1737, allocations: 8.25 kB / 1.468 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004319/0.1741, allocations: 103.9 kB / 1.468 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.1745, allocations: 12 kB / 1.468 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009017/0.1754, allocations: 297.1 kB / 1.469 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.1758, allocations: 0.7043 MB / 1.469 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.33e-05/0.1759, allocations: 11.86 kB / 1.469 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/0.176, allocations: 11.44 kB / 1.469 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of SimCode: time 1.588e-06/0.176, allocations: 0 / 1.469 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of Templates: time 0.007466/0.1835, allocations: 1.815 MB / 1.471 GB, free: 11.44 MB / 0.6198 GB