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 2.559/2.559, allocations: 287.9 MB / 302.9 MB, free: 8.211 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.001415/0.001415, allocations: 182 kB / 371.4 MB, free: 10.67 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.115/2.115, allocations: 205.4 MB / 0.6301 GB, free: 10.32 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.001023/0.001023, allocations: 93.25 kB / 0.7434 GB, free: 6.336 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004984, allocations: 11 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1673, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001499/0.1689, allocations: 1.195 MB / 0.9799 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1701, allocations: 0.7231 MB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.908e-05/0.1702, allocations: 0 / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.1702, allocations: 3.938 kB / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.274e-05/0.1703, allocations: 11.98 kB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.1707, allocations: 87.7 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.815e-05/0.1708, allocations: 43.94 kB / 0.9808 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.923e-05/0.1709, allocations: 15.97 kB / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.223e-05/0.171, allocations: 31.92 kB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.973e-05/0.1711, allocations: 35.83 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1711, allocations: 4 kB / 0.9809 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.1713, allocations: 67.88 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.1713, allocations: 19.91 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.1714, allocations: 29.7 kB / 0.981 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.1715, allocations: 96.05 kB / 0.9811 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.623e-06/0.1715, allocations: 0 / 0.9811 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.531e-06/0.1716, allocations: 4 kB / 0.9811 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.197e-06/0.1716, allocations: 0 / 0.9811 GB, free: 25.78 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.0005121/0.1721, allocations: 408.8 kB / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1721, allocations: 8.031 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.1722, allocations: 11.86 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.242e-05/0.1723, allocations: 182.8 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.1723, allocations: 8 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1724, allocations: 7.984 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.1726, allocations: 69.66 kB / 0.9817 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.346e-06/0.1726, allocations: 0 / 0.9817 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.1726, allocations: 4 kB / 0.9817 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.888e-06/0.1726, allocations: 3.938 kB / 0.9817 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.1728, allocations: 43.97 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005972/0.1734, allocations: 324.6 kB / 0.9821 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.1736, allocations: 46.56 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.1736, allocations: 0 / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.1738, allocations: 83.56 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.482e-06/0.1739, allocations: 0 / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004685/0.1743, allocations: 149.8 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.1744, allocations: 63.39 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.292e-05/0.1745, allocations: 117.8 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1745, allocations: 33.7 kB / 0.9826 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.1746, allocations: 88.31 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.1746, allocations: 19.75 kB / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.1746, allocations: 0 / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.434e-05/0.1747, allocations: 322.8 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.1748, allocations: 27.98 kB / 0.983 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.1749, allocations: 46.56 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1751, allocations: 47.97 kB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1751, allocations: 0 / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002996/0.1754, allocations: 117.5 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1754, allocations: 7.938 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.04e-06/0.1754, allocations: 4 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1754, allocations: 0 / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1756, allocations: 15.98 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.552e-06/0.1756, allocations: 7.953 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/0.1757, allocations: 8.062 kB / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.1757, allocations: 4 kB / 0.9832 GB, free: 23.31 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.358e-05/0.1758, allocations: 124.4 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.1759, allocations: 7.906 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.1759, allocations: 8.375 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.816e-06/0.1759, allocations: 0 / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.384e-06/0.1759, allocations: 0 / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.945e-06/0.1759, allocations: 7.953 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005237/0.1765, allocations: 390.5 kB / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.079e-06/0.1765, allocations: 0 / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.856e-05/0.1766, allocations: 7.984 kB / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.203e-06/0.1766, allocations: 0 / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.1766, allocations: 4 kB / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.443e-06/0.1766, allocations: 7.891 kB / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.06e-06/0.1766, allocations: 4 kB / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.177, allocations: 219.4 kB / 0.984 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.177, allocations: 81.02 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.177, allocations: 3.938 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.1772, allocations: 8 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.1772, allocations: 11.94 kB / 0.9841 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.1772, allocations: 4 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.72e-05/0.1773, allocations: 91.27 kB / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.41e-07/0.1773, allocations: 0 / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000399/0.1777, allocations: 39.98 kB / 0.9842 GB, free: 22.21 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.0003844/0.1781, allocations: 160.6 kB / 0.9844 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000292/0.1784, allocations: 79.89 kB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1784, allocations: 0 / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.1786, allocations: 44.05 kB / 0.9845 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.1788, allocations: 7.969 kB / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.1792, allocations: 197.1 kB / 0.9847 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.1794, allocations: 0.6926 MB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.801e-05/0.1794, 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.288e-05/0.1795, allocations: 11.44 kB / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of SimCode: time 1.316e-06/0.1795, allocations: 0 / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.00448/0.184, allocations: 1.344 MB / 0.9867 GB, free: 19.64 MB / 0.6198 GB