Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.778/1.778, allocations: 288.3 MB / 303.2 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001482, allocations: 186 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009118/0.0009118, allocations: 109.1 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004143/0.0004143, allocations: 15.09 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2543, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001627/0.256, allocations: 1.278 MB / 0.9807 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.2572, allocations: 0.7647 MB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.2572, allocations: 3.938 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.2573, allocations: 11.92 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.011e-05/0.2573, allocations: 19.95 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.2578, allocations: 111.6 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.2579, allocations: 79.88 kB / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.584e-05/0.258, allocations: 12 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.555e-05/0.2581, allocations: 59.81 kB / 0.9817 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.507e-05/0.2583, allocations: 63.78 kB / 0.9818 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.2583, allocations: 4 kB / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.2584, allocations: 71.89 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.698e-05/0.2585, allocations: 23.89 kB / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.952e-05/0.2585, allocations: 49.62 kB / 0.9819 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.2587, allocations: 128 kB / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2587, allocations: 0 / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2587, allocations: 0 / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.2587, allocations: 4 kB / 0.982 GB, free: 25.03 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006685/0.2594, allocations: 462.4 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2594, allocations: 19.94 kB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.2595, allocations: 11.91 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.801e-05/0.2596, allocations: 181.1 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.2596, allocations: 4 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.2597, allocations: 12 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.2599, allocations: 105.6 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2599, allocations: 3.938 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.26, allocations: 0 / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.26, allocations: 0 / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.2602, allocations: 79.89 kB / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008331/0.261, allocations: 380.6 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.2612, allocations: 74.55 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.2612, allocations: 0 / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.2615, allocations: 115.2 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.2615, allocations: 0 / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005296/0.262, allocations: 225.5 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.2621, allocations: 63.34 kB / 0.9837 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.2622, allocations: 145.5 kB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.2622, allocations: 25.7 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.2622, allocations: 100.4 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.2623, allocations: 23.66 kB / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.2623, allocations: 0 / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.062e-05/0.2623, allocations: 322.8 kB / 0.9843 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.2625, allocations: 51.97 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.2626, allocations: 72.27 kB / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.2627, allocations: 55.92 kB / 0.9844 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2627, allocations: 4 kB / 0.9845 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000283/0.263, allocations: 161.5 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.263, allocations: 4 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.263, allocations: 4 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2631, allocations: 0 / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.2632, allocations: 27.92 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2632, allocations: 0 / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.2633, allocations: 20 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.2634, allocations: 4.109 kB / 0.9847 GB, free: 22.09 MB / 0.6198 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 8.029e-05/0.2634, allocations: 134.5 kB / 0.9848 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.2635, allocations: 15.8 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.2635, allocations: 12.72 kB / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2635, allocations: 0 / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2635, allocations: 0 / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2635, allocations: 0 / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/0.264, allocations: 478.8 kB / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.264, allocations: 0 / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.1e-05/0.2641, allocations: 11.98 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2641, allocations: 0 / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.2641, allocations: 8 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2641, allocations: 0 / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2641, allocations: 7.984 kB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.2645, allocations: 279.3 kB / 0.9856 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.2645, allocations: 88.92 kB / 0.9857 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.2646, allocations: 8.062 kB / 0.9857 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.2647, allocations: 11.98 kB / 0.9857 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.2648, allocations: 11.94 kB / 0.9857 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.2648, allocations: 0 / 0.9857 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.217e-05/0.2648, allocations: 107.8 kB / 0.9858 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2648, allocations: 0 / 0.9858 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003119/0.2652, allocations: 44 kB / 0.9858 GB, free: 20.8 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.0003339/0.2655, allocations: 164 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003068/0.2658, allocations: 119.9 kB / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2658, allocations: 0 / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.266, allocations: 63.91 kB / 0.9862 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.2662, allocations: 15.92 kB / 0.9862 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.2666, allocations: 249.5 kB / 0.9864 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.2668, allocations: 0.7043 MB / 0.9871 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.436e-05/0.2668, allocations: 7.984 kB / 0.9871 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.2669, allocations: 11.44 kB / 0.9871 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.2669, allocations: 0 / 0.9871 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of Templates: time 0.00403/0.2709, allocations: 1.795 MB / 0.9889 GB, free: 17.64 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)