Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.479/4.479, allocations: 0.5623 GB / 0.5769 GB, free: 66.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004222/0.004222, allocations: 363.1 kB / 0.644 GB, free: 21.54 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.444/4.444, allocations: 410.8 MB / 1.112 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001747/0.001747, allocations: 176.3 kB / 1.225 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004886, allocations: 11.75 kB / 1.348 GB, free: 320.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1531, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.0014/0.1545, allocations: 1.204 MB / 1.462 GB, free: 219.5 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1556, allocations: 0.7215 MB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.1557, allocations: 0 / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.616e-05/0.1557, allocations: 7.922 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.704e-05/0.1558, allocations: 11.92 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.1562, allocations: 92.45 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.029e-05/0.1563, allocations: 63.77 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.826e-05/0.1564, allocations: 9.219 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.502e-05/0.1565, allocations: 28.52 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.407e-05/0.1566, allocations: 37.5 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1566, allocations: 0 / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.1568, allocations: 87.8 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.1568, allocations: 11.92 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.1569, allocations: 38.48 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.157, allocations: 96.03 kB / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.457e-06/0.1571, allocations: 3.188 kB / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.754e-06/0.1571, allocations: 0 / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.671e-06/0.1571, allocations: 0 / 1.463 GB, free: 218.3 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004827/0.1576, allocations: 408.8 kB / 1.463 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1576, allocations: 12.75 kB / 1.463 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.1577, allocations: 15.8 kB / 1.463 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.386e-05/0.1578, allocations: 175.6 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.1578, allocations: 0.875 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1578, allocations: 4 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.158, allocations: 71.75 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.891e-06/0.158, allocations: 0 / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1581, allocations: 4 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.014e-06/0.1581, allocations: 4 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.1583, allocations: 42.41 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005518/0.1588, allocations: 331.2 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.159, allocations: 51.58 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.1591, allocations: 33.47 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.1592, allocations: 0.6562 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.1594, allocations: 85.22 kB / 1.464 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 2.38e-06/0.1594, allocations: 0.7188 kB / 1.464 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0004557/0.1598, allocations: 144 kB / 1.464 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.1599, allocations: 59.39 kB / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.116e-05/0.16, allocations: 131 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.16, allocations: 29.7 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.1601, allocations: 84.33 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.1601, allocations: 25.61 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.188e-06/0.1601, allocations: 3.938 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.163e-05/0.1602, allocations: 318.8 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.1603, allocations: 30.55 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.1604, allocations: 54.48 kB / 1.465 GB, free: 216 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.1605, allocations: 33.7 kB / 1.465 GB, free: 216 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1606, allocations: 3.938 kB / 1.465 GB, free: 216 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002964/0.1609, allocations: 116.4 kB / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1609, allocations: 7.984 kB / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.015e-06/0.1609, allocations: 4 kB / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1609, allocations: 0 / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.161, allocations: 12.58 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.232e-06/0.1611, allocations: 4 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.549e-05/0.1612, allocations: 9.672 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.1612, allocations: 8 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.632e-05/0.1613, allocations: 118.2 kB / 1.465 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.1613, allocations: 8.469 kB / 1.465 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.1613, allocations: 17.23 kB / 1.465 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1614, allocations: 0 / 1.465 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.975e-06/0.1614, allocations: 7.953 kB / 1.465 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.965e-06/0.1614, allocations: 4.516 kB / 1.465 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.1619, allocations: 380.7 kB / 1.466 GB, free: 215.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.77e-06/0.1619, allocations: 0 / 1.466 GB, free: 215.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.366e-05/0.1619, allocations: 4.562 kB / 1.466 GB, free: 215.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.293e-06/0.162, allocations: 0.7188 kB / 1.466 GB, free: 215.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.162, allocations: 11.94 kB / 1.466 GB, free: 215.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.499e-06/0.162, allocations: 0.75 kB / 1.466 GB, free: 215.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.778e-06/0.162, allocations: 3.938 kB / 1.466 GB, free: 215.2 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.1623, allocations: 222.8 kB / 1.466 GB, free: 215 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.1624, allocations: 81.02 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.1624, allocations: 9.297 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.1625, allocations: 7.953 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.1626, allocations: 8.516 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.1626, allocations: 6.281 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.116e-05/0.1627, allocations: 91.27 kB / 1.466 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.38e-07/0.1627, allocations: 0 / 1.466 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003742/0.1631, allocations: 39.94 kB / 1.466 GB, free: 214.7 MB / 0.8073 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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0003312/0.1634, allocations: 157.1 kB / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002847/0.1637, allocations: 81.48 kB / 1.466 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.293e-06/0.1637, allocations: 1.594 kB / 1.466 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.1638, allocations: 39.92 kB / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.1642, allocations: 9.641 kB / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.1646, allocations: 199.4 kB / 1.467 GB, free: 214.2 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.1647, allocations: 0.6887 MB / 1.467 GB, free: 213.5 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.728e-05/0.1648, allocations: 6 kB / 1.467 GB, free: 213.5 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.1648, allocations: 11.44 kB / 1.467 GB, free: 213.5 MB / 0.8073 GB Notification: Performance of SimCode: time 1.301e-06/0.1648, allocations: 0 / 1.467 GB, free: 213.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.004294/0.1691, allocations: 1.345 MB / 1.469 GB, free: 212.3 MB / 0.8073 GB