Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.089/3.089, allocations: 287.3 MB / 302.3 MB, free: 8.32 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.001585/0.001585, allocations: 188.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.525/2.525, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001324/0.001324, allocations: 92.69 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007299/0.0007299, allocations: 11.62 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2491, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001579/0.2507, allocations: 1.054 MB / 0.9792 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007779/0.2515, allocations: 329 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.284e-05/0.2516, allocations: 4 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.275e-05/0.2517, allocations: 4 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.366e-05/0.2517, allocations: 3.938 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.2521, allocations: 55.92 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.317e-05/0.2522, allocations: 27.91 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.2523, allocations: 3.938 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.785e-05/0.2523, allocations: 11.98 kB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.344e-05/0.2524, allocations: 15.92 kB / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.2524, allocations: 0 / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.2525, allocations: 59.94 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.2526, allocations: 23.92 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.2526, allocations: 37.64 kB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.2528, allocations: 91.83 kB / 0.9798 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.2528, allocations: 0 / 0.9798 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2529, allocations: 0 / 0.9798 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2529, allocations: 0 / 0.9798 GB, free: 26.67 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005278/0.2534, allocations: 418.3 kB / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2535, allocations: 16.03 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.2536, allocations: 15.75 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.2537, allocations: 182.8 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.2537, allocations: 7.984 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.2538, allocations: 4 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.254, allocations: 177.6 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.254, allocations: 0 / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.2541, allocations: 4 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2541, allocations: 0 / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.2542, allocations: 79.95 kB / 0.9807 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.2544, allocations: 209.3 kB / 0.9809 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.2546, allocations: 142.5 kB / 0.981 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.2546, allocations: 0 / 0.981 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002966/0.2549, allocations: 200.4 kB / 0.9812 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 1.894e-06/0.2549, allocations: 0 / 0.9812 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0009231/0.2559, allocations: 0.6553 MB / 0.9819 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.256, allocations: 99.3 kB / 0.982 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.36e-05/0.2561, allocations: 117.7 kB / 0.9821 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.233e-05/0.2561, allocations: 53.69 kB / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.95e-05/0.2562, allocations: 85.14 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.2563, allocations: 98.91 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-05/0.2563, allocations: 15.94 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.2564, allocations: 334.8 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.2567, allocations: 165 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.2571, allocations: 238 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.2575, allocations: 213.8 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2575, allocations: 0 / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008718/0.2584, allocations: 492.6 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.2584, allocations: 8 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.2584, allocations: 0 / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.2585, allocations: 4 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.2586, allocations: 27.86 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.2587, allocations: 4 kB / 0.9837 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.2588, allocations: 35.59 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.2588, allocations: 8 kB / 0.9838 GB, free: 22.38 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.occ.hold_time,occ.hold_time,$PRE.occ.mu,occ.mu,$PRE.occ.occ,occ.occ,$PRE.occ.state[1],occ.state[1],$PRE.occ.state[2],occ.state[2],$PRE.occ.state[3],occ.state[3],$PRE.occ.state[4],occ.state[4],$PRE.occ.state[5],occ.state[5],$PRE.occ.state[6],occ.state[6],$PRE.occ.state[7],occ.state[7],$PRE.occ.state[8],occ.state[8],$PRE.occ.state[9],occ.state[9],$PRE.occ.state[10],occ.state[10],$PRE.occ.state[11],occ.state[11],$PRE.occ.state[12],occ.state[12],$PRE.occ.state[13],occ.state[13],$PRE.occ.state[14],occ.state[14],$PRE.occ.state[15],occ.state[15],$PRE.occ.state[16],occ.state[16],$PRE.occ.state[17],occ.state[17],$PRE.occ.state[18],occ.state[18],$PRE.occ.state[19],occ.state[19],$PRE.occ.state[20],occ.state[20],$PRE.occ.state[21],occ.state[21],$PRE.occ.state[22],occ.state[22],$PRE.occ.state[23],occ.state[23],$PRE.occ.state[24],occ.state[24],$PRE.occ.state[25],occ.state[25],$PRE.occ.state[26],occ.state[26],$PRE.occ.state[27],occ.state[27],$PRE.occ.state[28],occ.state[28],$PRE.occ.state[29],occ.state[29],$PRE.occ.state[30],occ.state[30],$PRE.occ.state[31],occ.state[31],$PRE.occ.state[32],occ.state[32],$PRE.occ.state[33],occ.state[33],$PRE.occ.r,occ.r,$whenCondition1,$PRE.occ.tNext,occ.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 1 * 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 0.000245/0.2591, allocations: 207 kB / 0.984 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.2591, allocations: 11.89 kB / 0.984 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.2592, allocations: 13.45 kB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2592, allocations: 3.938 kB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2592, allocations: 3.984 kB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2592, allocations: 0 / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.2594, allocations: 189.4 kB / 0.9842 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2594, allocations: 3.953 kB / 0.9842 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-06/0.2594, allocations: 0 / 0.9842 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2594, allocations: 0 / 0.9842 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2594, allocations: 4 kB / 0.9842 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2594, allocations: 4 kB / 0.9842 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2594, allocations: 0 / 0.9842 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006545/0.2601, allocations: 468.8 kB / 0.9847 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.2602, allocations: 100.8 kB / 0.9848 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.2602, allocations: 31.98 kB / 0.9848 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.2603, allocations: 4 kB / 0.9848 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.2603, allocations: 3.984 kB / 0.9848 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.2604, allocations: 8.125 kB / 0.9848 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.103e-05/0.2604, allocations: 75.28 kB / 0.9849 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2604, allocations: 0 / 0.9849 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003929/0.2608, allocations: 51.98 kB / 0.9849 GB, free: 21.12 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: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 35 (occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33],occ.occ,occ.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005177/0.2613, allocations: 225 kB / 0.9851 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005834/0.2619, allocations: 357 kB / 0.9855 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.262, allocations: 4.25 kB / 0.9855 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.2621, allocations: 127.9 kB / 0.9856 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.2624, allocations: 7.984 kB / 0.9856 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005971/0.263, allocations: 350.1 kB / 0.9859 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.2632, allocations: 0.7207 MB / 0.9866 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.594e-05/0.2633, allocations: 17.42 kB / 0.9867 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.2633, allocations: 15.44 kB / 0.9867 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of SimCode: time 1.192e-06/0.2633, allocations: 0 / 0.9867 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of Templates: time 0.005904/0.2692, allocations: 1.621 MB / 0.9883 GB, free: 17.66 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)