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.801/2.801, allocations: 285 MB / 292.5 MB, free: 10.48 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.00143/0.001429, allocations: 172.9 kB / 360.7 MB, free: 7.219 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.136/2.136, allocations: 205.3 MB / 0.6192 GB, free: 12.11 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001107, allocations: 90.19 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.19e-05/2.21e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8496/0.8496, allocations: 115.3 MB / 0.9634 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2491/1.099, allocations: 137.6 MB / 1.098 GB, free: 2.875 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003987/1.099, allocations: 80.94 kB / 1.098 GB, free: 2.797 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01306/1.112, allocations: 2.357 MB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.415e-06/1.112, allocations: 0 / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.255e-05/1.112, allocations: 4 kB / 1.1 GB, free: 484 kB / 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.0007746/1.113, allocations: 424.5 kB / 1.101 GB, free: 16 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/1.113, allocations: 8.031 kB / 1.101 GB, free: 8 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/1.114, allocations: 13.72 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/1.114, allocations: 178.8 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/1.114, allocations: 0.6562 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/1.114, allocations: 4.531 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002342/1.114, allocations: 82.73 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000467/1.115, allocations: 175.2 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/1.115, allocations: 3.984 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/1.115, allocations: 7.984 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.115, allocations: 0 / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/1.115, allocations: 186.9 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/1.115, allocations: 133.4 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/1.116, allocations: 119.5 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/1.116, allocations: 0 / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005263/1.116, allocations: 201.6 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 3.016e-06/1.116, allocations: 0.6875 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.001285/1.118, allocations: 448.3 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.118, allocations: 83.91 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/1.118, allocations: 117.4 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000234/1.118, allocations: 50.27 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/1.118, allocations: 85.55 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/1.118, allocations: 94.94 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/1.118, allocations: 0.7188 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002117/1.119, allocations: 339.7 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000466/1.119, allocations: 157.1 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/1.12, allocations: 221.6 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006343/1.12, allocations: 203.3 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.12, allocations: 2.812 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001371/1.122, allocations: 456.7 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/1.122, allocations: 7.984 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.122, allocations: 0 / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/1.122, allocations: 4 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/1.122, allocations: 28 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/1.122, allocations: 4 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/1.122, allocations: 34.08 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/1.122, allocations: 12 kB / 1.104 GB, free: 12.47 MB / 0.7136 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 () * 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.0003397/1.123, allocations: 170.2 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/1.123, allocations: 19.75 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/1.123, allocations: 5.969 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/1.123, allocations: 0 / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.123, allocations: 3.938 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/1.123, allocations: 0 / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/1.123, allocations: 174.1 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/1.123, allocations: 11.22 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-06/1.123, allocations: 0 / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/1.123, allocations: 0 / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/1.123, allocations: 7.953 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/1.123, allocations: 0 / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.123, allocations: 0 / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/1.125, allocations: 484.7 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.671e-05/1.125, allocations: 96.84 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/1.125, allocations: 39.97 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/1.125, allocations: 11.94 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/1.125, allocations: 0 / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/1.125, allocations: 13.92 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.536e-05/1.125, allocations: 83.28 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.51e-07/1.125, allocations: 0 / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007428/1.126, allocations: 47.94 kB / 1.105 GB, free: 11.25 MB / 0.7136 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) * 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.0007933/1.127, allocations: 222.1 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009222/1.128, allocations: 340.6 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.128, allocations: 0 / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/1.128, allocations: 124 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/1.129, allocations: 11.92 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000734/1.129, allocations: 241.5 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/1.13, allocations: 0.721 MB / 1.107 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001121/1.13, allocations: 17.2 kB / 1.107 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.4e-05/1.13, allocations: 19.42 kB / 1.107 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of SimCode: time 1.183e-06/1.13, allocations: 0 / 1.107 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of Templates: time 0.009831/1.14, allocations: 1.957 MB / 1.109 GB, free: 7.613 MB / 0.7136 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)