Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.727/4.727, allocations: 0.5623 GB / 0.5769 GB, free: 3.402 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.002432/0.002432, allocations: 363.5 kB / 0.6441 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.224/4.224, 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.001693/0.001693, allocations: 191.2 kB / 1.225 GB, free: 36 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.000474, allocations: 12 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1557, allocations: 115.3 MB / 1.461 GB, free: 6.633 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001422/0.1572, allocations: 1.203 MB / 1.462 GB, free: 5.414 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1584, allocations: 0.7231 MB / 1.463 GB, free: 4.684 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.1584, allocations: 0 / 1.463 GB, free: 4.684 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.1585, allocations: 3.938 kB / 1.463 GB, free: 4.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.996e-05/0.1585, allocations: 3.938 kB / 1.463 GB, free: 4.676 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.159, allocations: 91.7 kB / 1.463 GB, free: 4.586 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.668e-05/0.1591, allocations: 71.75 kB / 1.463 GB, free: 4.516 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.372e-05/0.1592, allocations: 8 kB / 1.463 GB, free: 4.508 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.135e-05/0.1593, allocations: 31.92 kB / 1.463 GB, free: 4.477 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.565e-05/0.1594, allocations: 31.88 kB / 1.463 GB, free: 4.445 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1594, allocations: 7.938 kB / 1.463 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.1596, allocations: 83.84 kB / 1.463 GB, free: 4.355 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.1596, allocations: 15.92 kB / 1.463 GB, free: 4.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.1597, allocations: 33.7 kB / 1.463 GB, free: 4.301 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.1598, allocations: 100 kB / 1.463 GB, free: 4.203 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.009e-06/0.1598, allocations: 0 / 1.463 GB, free: 4.203 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.165e-06/0.1599, allocations: 4 kB / 1.463 GB, free: 4.199 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.514e-06/0.1599, allocations: 0 / 1.463 GB, free: 4.199 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004986/0.1604, allocations: 404.8 kB / 1.463 GB, free: 3.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1604, allocations: 12.03 kB / 1.463 GB, free: 3.738 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.1605, allocations: 7.859 kB / 1.463 GB, free: 3.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.375e-05/0.1606, allocations: 174.9 kB / 1.464 GB, free: 3.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.1606, allocations: 8 kB / 1.464 GB, free: 3.512 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.1606, allocations: 8 kB / 1.464 GB, free: 3.504 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.1608, allocations: 69.66 kB / 1.464 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.434e-06/0.1609, allocations: 0 / 1.464 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1609, allocations: 0 / 1.464 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.126e-06/0.1609, allocations: 7.938 kB / 1.464 GB, free: 3.422 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.1611, allocations: 39.97 kB / 1.464 GB, free: 3.383 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005712/0.1616, allocations: 332.6 kB / 1.464 GB, free: 3.008 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.1618, allocations: 54.56 kB / 1.464 GB, free: 2.945 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1619, allocations: 36.97 kB / 1.464 GB, free: 2.906 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.162, allocations: 0 / 1.464 GB, free: 2.906 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.1622, allocations: 75.38 kB / 1.464 GB, free: 2.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.448e-06/0.1622, allocations: 0 / 1.464 GB, free: 2.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004568/0.1627, allocations: 153.5 kB / 1.464 GB, free: 2.664 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.1627, allocations: 55.41 kB / 1.464 GB, free: 2.598 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/0.1628, allocations: 121.7 kB / 1.465 GB, free: 2.469 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1628, allocations: 33.7 kB / 1.465 GB, free: 2.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.1629, allocations: 84.33 kB / 1.465 GB, free: 2.344 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.1629, allocations: 31.8 kB / 1.465 GB, free: 2.312 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.486e-06/0.163, allocations: 0 / 1.465 GB, free: 2.312 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.31e-05/0.163, allocations: 314.8 kB / 1.465 GB, free: 1.996 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.1631, allocations: 35.97 kB / 1.465 GB, free: 1.961 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.1633, allocations: 47 kB / 1.465 GB, free: 1.906 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.1634, allocations: 39.92 kB / 1.465 GB, free: 1.867 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.637e-06/0.1634, allocations: 3.938 kB / 1.465 GB, free: 1.863 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002935/0.1637, allocations: 117.5 kB / 1.465 GB, free: 1.742 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1637, allocations: 4 kB / 1.465 GB, free: 1.738 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.179e-06/0.1637, allocations: 8.062 kB / 1.465 GB, free: 1.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1638, allocations: 0 / 1.465 GB, free: 1.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1639, allocations: 15.94 kB / 1.465 GB, free: 1.715 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.607e-06/0.1639, allocations: 4 kB / 1.465 GB, free: 1.711 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.61e-05/0.164, allocations: 7.984 kB / 1.465 GB, free: 1.703 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.164, allocations: 4 kB / 1.465 GB, free: 1.699 MB / 0.6042 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 8.171e-05/0.1641, allocations: 118.5 kB / 1.465 GB, free: 1.574 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.1642, allocations: 19.83 kB / 1.465 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.1642, allocations: 4.375 kB / 1.465 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.539e-06/0.1642, allocations: 0 / 1.465 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.059e-06/0.1642, allocations: 3.953 kB / 1.465 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.834e-06/0.1642, allocations: 4 kB / 1.465 GB, free: 1.547 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005768/0.1648, allocations: 382.5 kB / 1.466 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.864e-06/0.1648, allocations: 4 kB / 1.466 GB, free: 1.113 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.619e-05/0.1649, allocations: 4 kB / 1.466 GB, free: 1.109 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.356e-06/0.1649, allocations: 3.984 kB / 1.466 GB, free: 1.105 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.165, allocations: 7.953 kB / 1.466 GB, free: 1.098 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.165, allocations: 3.938 kB / 1.466 GB, free: 1.094 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.81e-06/0.165, allocations: 0 / 1.466 GB, free: 1.094 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.1654, allocations: 215.9 kB / 1.466 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.1655, allocations: 88.94 kB / 1.466 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.1655, allocations: 0 / 1.466 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.1656, allocations: 7.953 kB / 1.466 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.1657, allocations: 7.984 kB / 1.466 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.1657, allocations: 4 kB / 1.466 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.138e-05/0.1658, allocations: 99.42 kB / 1.466 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.02e-07/0.1658, allocations: 0 / 1.466 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004112/0.1662, allocations: 40 kB / 1.466 GB, free: 0.6055 MB / 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: 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.000414/0.1667, allocations: 165.3 kB / 1.466 GB, free: 464 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000345/0.167, allocations: 87.94 kB / 1.467 GB, free: 376 kB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.598e-06/0.167, allocations: 0 / 1.467 GB, free: 376 kB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.1672, allocations: 39.92 kB / 1.467 GB, free: 336 kB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.1675, allocations: 11.98 kB / 1.467 GB, free: 324 kB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004887/0.168, allocations: 197.2 kB / 1.467 GB, free: 104 kB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.1685, allocations: 0.6887 MB / 1.467 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.342e-05/0.1685, allocations: 4.188 kB / 1.467 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.876e-05/0.1686, allocations: 15.42 kB / 1.467 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of SimCode: time 2.227e-06/0.1686, allocations: 0 / 1.467 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of Templates: time 0.005054/0.1736, allocations: 1.341 MB / 1.469 GB, free: 14.04 MB / 0.6198 GB