Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.799/2.799, allocations: 287.5 MB / 302.4 MB, free: 8.297 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.001508/0.001507, allocations: 181.1 kB / 371 MB, free: 10.81 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.304/2.304, allocations: 205.4 MB / 0.6297 GB, free: 10.52 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.001521/0.001521, allocations: 98.8 kB / 0.743 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004656/0.0004656, allocations: 10.62 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2578, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9473/1.205, allocations: 138.3 MB / 1.113 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003872/1.206, allocations: 80.45 kB / 1.114 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01261/1.218, allocations: 2.384 MB / 1.116 GB, free: 31.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/1.218, allocations: 0 / 1.116 GB, free: 31.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.755e-05/1.218, allocations: 0 / 1.116 GB, free: 31.34 MB / 0.698 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.0007416/1.219, allocations: 429.5 kB / 1.116 GB, free: 30.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/1.219, allocations: 10.41 kB / 1.116 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/1.219, allocations: 19.59 kB / 1.116 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/1.219, allocations: 170.9 kB / 1.116 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/1.22, allocations: 12.23 kB / 1.116 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/1.22, allocations: 3.875 kB / 1.116 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/1.22, allocations: 177.7 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.22, allocations: 0 / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/1.22, allocations: 2.766 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.22, allocations: 0 / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/1.22, allocations: 84.52 kB / 1.117 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/1.221, allocations: 229.5 kB / 1.117 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/1.221, allocations: 138.2 kB / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/1.221, allocations: 0 / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004288/1.221, allocations: 206.4 kB / 1.117 GB, free: 30.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 2.264e-06/1.221, allocations: 0 / 1.117 GB, free: 30.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.001409/1.223, allocations: 0.6681 MB / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.549e-05/1.223, allocations: 98.61 kB / 1.118 GB, free: 30.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/1.223, allocations: 117.5 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.376e-05/1.223, allocations: 53.62 kB / 1.118 GB, free: 30.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/1.223, allocations: 85.08 kB / 1.118 GB, free: 29.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/1.223, allocations: 95.22 kB / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/1.223, allocations: 7.812 kB / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001738/1.224, allocations: 337.5 kB / 1.119 GB, free: 29.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/1.224, allocations: 169.6 kB / 1.119 GB, free: 29.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/1.224, allocations: 236.3 kB / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/1.225, allocations: 215.2 kB / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.225, allocations: 0 / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001142/1.226, allocations: 498.4 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.226, allocations: 3.844 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.226, allocations: 3.75 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/1.226, allocations: 3.906 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/1.226, allocations: 18.45 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/1.226, allocations: 0 / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/1.227, allocations: 41.64 kB / 1.12 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/1.227, allocations: 7.656 kB / 1.12 GB, free: 29.46 MB / 0.698 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.0003309/1.227, allocations: 204.1 kB / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/1.227, allocations: 11.78 kB / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/1.227, allocations: 9.219 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/1.227, allocations: 0 / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/1.227, allocations: 4.75 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/1.227, allocations: 2.953 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/1.227, allocations: 210.9 kB / 1.12 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.227, allocations: 6.859 kB / 1.12 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-06/1.227, allocations: 0 / 1.12 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/1.227, allocations: 240 / 1.12 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/1.228, allocations: 11.28 kB / 1.12 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/1.228, allocations: 0 / 1.12 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.228, allocations: 4 kB / 1.12 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000995/1.229, allocations: 486.8 kB / 1.121 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.581e-05/1.229, allocations: 96.66 kB / 1.121 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/1.229, allocations: 39.77 kB / 1.121 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/1.229, allocations: 3.781 kB / 1.121 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/1.229, allocations: 11.44 kB / 1.121 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/1.229, allocations: 7.531 kB / 1.121 GB, free: 28.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.725e-05/1.229, allocations: 86.02 kB / 1.121 GB, free: 28.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.52e-07/1.229, allocations: 0 / 1.121 GB, free: 28.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000487/1.23, allocations: 61.84 kB / 1.121 GB, free: 28.81 MB / 0.698 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.0006967/1.23, allocations: 217.1 kB / 1.121 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007871/1.231, allocations: 358 kB / 1.122 GB, free: 28.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.231, allocations: 0 / 1.122 GB, free: 28.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/1.231, allocations: 129.5 kB / 1.122 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/1.232, allocations: 9.5 kB / 1.122 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008168/1.233, allocations: 347.6 kB / 1.122 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/1.233, allocations: 0.7205 MB / 1.123 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.978e-05/1.233, allocations: 22.03 kB / 1.123 GB, free: 27.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/1.233, allocations: 15.09 kB / 1.123 GB, free: 27.79 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/1.233, allocations: 0 / 1.123 GB, free: 27.79 MB / 0.698 GB Notification: Performance of Templates: time 0.008483/1.242, allocations: 1.974 MB / 1.125 GB, free: 27.62 MB / 0.698 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)