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 2.863/2.863, allocations: 287.9 MB / 302.9 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001416/0.001416, allocations: 181.1 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001019/0.001018, allocations: 84.55 kB / 0.7434 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004849, allocations: 15 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1601, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001545/0.1617, allocations: 1.199 MB / 0.9799 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1629, allocations: 0.723 MB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.163, allocations: 0 / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.163, allocations: 3.938 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.366e-05/0.1631, allocations: 3.984 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.1635, allocations: 99.75 kB / 0.9807 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.758e-05/0.1636, allocations: 47.88 kB / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.677e-05/0.1637, allocations: 7.984 kB / 0.9808 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.68e-05/0.1638, allocations: 27.91 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/0.1639, allocations: 35.84 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1639, allocations: 4 kB / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.1641, allocations: 71.86 kB / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.1641, allocations: 15.92 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.1642, allocations: 37.7 kB / 0.981 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1643, allocations: 96.03 kB / 0.9811 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1643, allocations: 0 / 0.9811 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.836e-06/0.1644, allocations: 0 / 0.9811 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.004e-06/0.1644, allocations: 0 / 0.9811 GB, free: 25.79 MB / 0.6198 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.0004957/0.1649, allocations: 412.8 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1649, allocations: 12.02 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.165, allocations: 15.86 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.191e-05/0.1651, allocations: 167 kB / 0.9816 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.1651, allocations: 3.938 kB / 0.9816 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.1651, allocations: 11.98 kB / 0.9817 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.1653, allocations: 65.66 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.515e-06/0.1654, allocations: 7.938 kB / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1654, allocations: 0 / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.885e-06/0.1654, allocations: 3.984 kB / 0.9817 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.1656, allocations: 43.97 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005799/0.1662, allocations: 328.7 kB / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.1663, allocations: 54.5 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.1664, allocations: 0 / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.1666, allocations: 79.5 kB / 0.9822 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.414e-06/0.1666, allocations: 0 / 0.9822 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004619/0.1671, allocations: 149.5 kB / 0.9824 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.1671, allocations: 59.47 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.067e-05/0.1672, allocations: 121.8 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1672, allocations: 25.7 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.1673, allocations: 96.3 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.1673, allocations: 23.75 kB / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-06/0.1673, allocations: 3.938 kB / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.692e-05/0.1674, allocations: 318.8 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1675, allocations: 31.98 kB / 0.983 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1677, allocations: 46.56 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1678, allocations: 36.3 kB / 0.9831 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.717e-06/0.1678, allocations: 0 / 0.9831 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003035/0.1681, allocations: 121.5 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1682, allocations: 8.062 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.208e-06/0.1682, allocations: 0 / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1682, allocations: 4 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1683, allocations: 15.92 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.018e-06/0.1683, allocations: 3.953 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.907e-05/0.1684, allocations: 15.94 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.1685, allocations: 0 / 0.9832 GB, free: 23.32 MB / 0.6198 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.154e-05/0.1686, allocations: 128.6 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.1686, allocations: 3.906 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.1686, allocations: 12.38 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1686, allocations: 0 / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.417e-06/0.1687, allocations: 0 / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.673e-06/0.1687, allocations: 3.953 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.1692, allocations: 386.4 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.92e-06/0.1692, allocations: 4 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.1693, allocations: 7.984 kB / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.1693, allocations: 0 / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.1693, allocations: 0 / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.253e-06/0.1693, allocations: 7.953 kB / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.792e-06/0.1693, allocations: 0 / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.1697, allocations: 219.3 kB / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.1697, allocations: 85.02 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.1697, allocations: 0 / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1699, allocations: 4 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.1699, allocations: 19.92 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.17, allocations: 4 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.446e-05/0.17, allocations: 91.92 kB / 0.9842 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.92e-07/0.17, allocations: 0 / 0.9842 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003951/0.1704, allocations: 43.98 kB / 0.9842 GB, free: 22.22 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: 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.0003547/0.1708, allocations: 158 kB / 0.9844 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002921/0.1711, allocations: 92.11 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.697e-06/0.1711, allocations: 0 / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.1712, allocations: 35.98 kB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.1715, allocations: 7.984 kB / 0.9845 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.1719, allocations: 205.1 kB / 0.9847 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.172, allocations: 0.6892 MB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.761e-05/0.1721, allocations: 8.172 kB / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.1721, allocations: 11.44 kB / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of SimCode: time 1.369e-06/0.1722, allocations: 0 / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.004523/0.1767, allocations: 1.333 MB / 0.9867 GB, free: 19.66 MB / 0.6198 GB