Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 3.114/3.114, allocations: 287.9 MB / 302.9 MB, free: 8.293 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.001637/0.001637, allocations: 188.2 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.11/2.11, allocations: 205.4 MB / 0.6301 GB, free: 10.41 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.001029/0.001029, allocations: 84.48 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007526/0.0007529, allocations: 11.47 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1659, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001442/0.1674, allocations: 1.199 MB / 0.9799 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1686, allocations: 0.7231 MB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.685e-05/0.1687, allocations: 0 / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.078e-05/0.1687, allocations: 3.938 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.905e-05/0.1688, allocations: 11.98 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.1693, allocations: 95.69 kB / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.926e-05/0.1694, allocations: 43.94 kB / 0.9808 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.229e-05/0.1695, allocations: 11.98 kB / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.68e-05/0.1696, allocations: 27.92 kB / 0.9808 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.634e-05/0.1697, allocations: 35.83 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1697, allocations: 4 kB / 0.9809 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.1699, allocations: 71.86 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.1699, allocations: 15.92 kB / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.1699, allocations: 29.7 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.1701, allocations: 104 kB / 0.9811 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.769e-06/0.1701, allocations: 0 / 0.9811 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.083e-06/0.1701, allocations: 0 / 0.9811 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.386e-06/0.1702, allocations: 0 / 0.9811 GB, free: 25.8 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.0005058/0.1707, allocations: 408.8 kB / 0.9815 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1707, allocations: 8.031 kB / 0.9815 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.1708, allocations: 11.86 kB / 0.9815 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.305e-05/0.1709, allocations: 174.9 kB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.1709, allocations: 12 kB / 0.9817 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.1709, allocations: 7.984 kB / 0.9817 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1711, allocations: 65.66 kB / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.1712, allocations: 3.938 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1712, allocations: 0 / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.641e-06/0.1712, allocations: 0 / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.1714, allocations: 51.97 kB / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.172, allocations: 316.6 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.1721, allocations: 58.5 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.1722, allocations: 8.062 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.1724, allocations: 75.5 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.693e-06/0.1724, allocations: 0 / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004538/0.1728, allocations: 153.5 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.1729, allocations: 55.41 kB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.622e-05/0.173, allocations: 121.8 kB / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.173, allocations: 25.7 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.1731, allocations: 96.31 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.1731, allocations: 15.73 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.304e-06/0.1731, allocations: 8 kB / 0.9827 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.312e-05/0.1732, allocations: 322.8 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.1733, allocations: 23.98 kB / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1734, allocations: 47 kB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.1735, allocations: 39.98 kB / 0.9831 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.618e-06/0.1736, allocations: 0 / 0.9831 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002913/0.1739, allocations: 113.5 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1739, allocations: 9.562 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.758e-06/0.1739, allocations: 0 / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1739, allocations: 4.062 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1741, allocations: 19.92 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1741, allocations: 3.953 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.814e-05/0.1742, allocations: 11.94 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.1742, allocations: 7.984 kB / 0.9832 GB, free: 23.34 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 7.922e-05/0.1743, allocations: 113.8 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.1743, allocations: 7.906 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.1744, allocations: 12.38 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.286e-06/0.1744, allocations: 4 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.055e-06/0.1744, allocations: 0 / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.632e-06/0.1744, allocations: 3.953 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/0.1749, allocations: 386.4 kB / 0.9837 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.903e-06/0.1749, allocations: 0 / 0.9837 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-05/0.175, allocations: 11.98 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.465e-06/0.175, allocations: 4 kB / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.175, allocations: 0 / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.175, allocations: 3.953 kB / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.175, allocations: 0 / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.1754, allocations: 223.8 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.1754, allocations: 81.02 kB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.1754, allocations: 12 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.1756, allocations: 4 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.1756, allocations: 7.938 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.1756, allocations: 7.938 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.366e-05/0.1757, allocations: 95.42 kB / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.07e-07/0.1757, allocations: 0 / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003881/0.1761, allocations: 39.98 kB / 0.9842 GB, free: 22.24 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.0003557/0.1765, allocations: 157.1 kB / 0.9844 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002834/0.1768, allocations: 79.91 kB / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.762e-06/0.1768, allocations: 0 / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1769, allocations: 47.89 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.1771, allocations: 4 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.1775, allocations: 201.2 kB / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.1777, allocations: 0.6926 MB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.265e-05/0.1777, allocations: 8.172 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.1778, allocations: 7.438 kB / 0.9854 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of SimCode: time 1.229e-06/0.1778, allocations: 0 / 0.9854 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.004498/0.1823, allocations: 1.342 MB / 0.9867 GB, free: 19.67 MB / 0.6198 GB