Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.92/4.92, allocations: 0.5623 GB / 0.5769 GB, free: 3.332 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.002484/0.002483, allocations: 356.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.232/4.232, 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.001775/0.001775, allocations: 184.1 kB / 1.225 GB, free: 35.95 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004833, allocations: 12 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1543, allocations: 115.3 MB / 1.461 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.00147/0.1559, allocations: 1.29 MB / 1.462 GB, free: 5.289 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1571, allocations: 0.761 MB / 1.463 GB, free: 4.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.1572, allocations: 3.938 kB / 1.463 GB, free: 4.516 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.156e-05/0.1572, allocations: 3.938 kB / 1.463 GB, free: 4.512 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.1573, allocations: 23.84 kB / 1.463 GB, free: 4.488 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004502/0.1577, allocations: 115.6 kB / 1.463 GB, free: 4.375 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.1579, allocations: 119.6 kB / 1.463 GB, free: 4.258 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.144e-05/0.158, allocations: 8 kB / 1.463 GB, free: 4.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1581, allocations: 55.81 kB / 1.463 GB, free: 4.195 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1582, allocations: 67.8 kB / 1.463 GB, free: 4.129 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.1582, allocations: 4 kB / 1.463 GB, free: 4.125 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.1584, allocations: 83.8 kB / 1.463 GB, free: 4.043 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.1585, allocations: 23.95 kB / 1.463 GB, free: 4.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.1585, allocations: 45.62 kB / 1.463 GB, free: 3.969 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.1587, allocations: 132 kB / 1.463 GB, free: 3.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.064e-06/0.1587, allocations: 0 / 1.463 GB, free: 3.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.846e-06/0.1587, allocations: 0 / 1.463 GB, free: 3.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.131e-06/0.1588, allocations: 0 / 1.463 GB, free: 3.84 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006014/0.1594, allocations: 472.8 kB / 1.464 GB, free: 3.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.1594, allocations: 8.031 kB / 1.464 GB, free: 3.312 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.1595, allocations: 11.91 kB / 1.464 GB, free: 3.301 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.53e-05/0.1596, allocations: 183.3 kB / 1.464 GB, free: 3.082 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.1596, allocations: 8 kB / 1.464 GB, free: 3.074 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.1597, allocations: 4 kB / 1.464 GB, free: 3.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.1599, allocations: 113.5 kB / 1.464 GB, free: 2.953 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.665e-06/0.16, allocations: 0 / 1.464 GB, free: 2.953 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.16, allocations: 0 / 1.464 GB, free: 2.953 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-06/0.16, allocations: 3.984 kB / 1.464 GB, free: 2.949 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.1602, allocations: 75.95 kB / 1.464 GB, free: 2.875 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008139/0.1611, allocations: 380.5 kB / 1.465 GB, free: 2.453 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.1613, allocations: 74.55 kB / 1.465 GB, free: 2.371 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.1615, allocations: 52.84 kB / 1.465 GB, free: 2.316 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.1615, allocations: 7.984 kB / 1.465 GB, free: 2.309 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.1618, allocations: 111.3 kB / 1.465 GB, free: 2.188 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.424e-06/0.1618, allocations: 0 / 1.465 GB, free: 2.188 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0006953/0.1625, allocations: 237.3 kB / 1.465 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.1625, allocations: 55.41 kB / 1.465 GB, free: 1.883 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.1626, allocations: 143.2 kB / 1.465 GB, free: 1.734 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1627, allocations: 29.7 kB / 1.465 GB, free: 1.699 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.1627, allocations: 96.36 kB / 1.465 GB, free: 1.602 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.1628, allocations: 23.66 kB / 1.465 GB, free: 1.578 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.1628, allocations: 8 kB / 1.465 GB, free: 1.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.1629, allocations: 322.8 kB / 1.466 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.1631, allocations: 47.97 kB / 1.466 GB, free: 1.199 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.1633, allocations: 80.14 kB / 1.466 GB, free: 1.109 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.1635, allocations: 51.92 kB / 1.466 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.742e-06/0.1635, allocations: 0 / 1.466 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004863/0.164, allocations: 165.5 kB / 1.466 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.164, allocations: 8 kB / 1.466 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.329e-06/0.164, allocations: 0 / 1.466 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1641, allocations: 0 / 1.466 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.1643, allocations: 27.98 kB / 1.466 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.1643, allocations: 12.03 kB / 1.466 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.1644, allocations: 15.98 kB / 1.466 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.1645, allocations: 4 kB / 1.466 GB, free: 0.8242 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * 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.0001432/0.1646, allocations: 118.3 kB / 1.466 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.1647, allocations: 19.75 kB / 1.466 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.1647, allocations: 16.7 kB / 1.466 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.512e-06/0.1647, allocations: 0 / 1.466 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.667e-06/0.1648, allocations: 11.95 kB / 1.466 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.023e-06/0.1648, allocations: 0 / 1.466 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008801/0.1657, allocations: 462.5 kB / 1.467 GB, free: 152 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.452e-06/0.1657, allocations: 4 kB / 1.467 GB, free: 148 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.877e-05/0.1658, allocations: 11.98 kB / 1.467 GB, free: 136 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.664e-06/0.1658, allocations: 4 kB / 1.467 GB, free: 132 kB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.1658, allocations: 3.953 kB / 1.467 GB, free: 128 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.1658, allocations: 480 / 1.467 GB, free: 128 kB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.433e-06/0.1659, allocations: 0 / 1.467 GB, free: 128 kB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006199/0.1665, allocations: 283.3 kB / 1.467 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.246e-05/0.1666, allocations: 88.92 kB / 1.467 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.1666, allocations: 0 / 1.467 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.1668, allocations: 15.94 kB / 1.467 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.1669, allocations: 11.98 kB / 1.467 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.1669, allocations: 4.062 kB / 1.467 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.782e-05/0.167, allocations: 115.6 kB / 1.467 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.56e-07/0.167, allocations: 0 / 1.467 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004303/0.1674, allocations: 44 kB / 1.467 GB, free: 15.54 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003968/0.1679, allocations: 157.1 kB / 1.467 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004507/0.1683, allocations: 123.9 kB / 1.468 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.72e-06/0.1683, allocations: 0 / 1.468 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.1686, allocations: 63.91 kB / 1.468 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1689, allocations: 24.05 kB / 1.468 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005976/0.1696, allocations: 245.4 kB / 1.468 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.1699, allocations: 0.7007 MB / 1.469 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.225e-05/0.17, allocations: 7.984 kB / 1.469 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.1701, allocations: 11.44 kB / 1.469 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of SimCode: time 1.666e-06/0.1701, allocations: 3.938 kB / 1.469 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.006015/0.1761, allocations: 1.789 MB / 1.47 GB, free: 12.38 MB / 0.6198 GB