Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.85/1.85, allocations: 288.3 MB / 303.2 MB, free: 8.211 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.001069/0.001069, allocations: 181.1 kB / 371.8 MB, free: 10.3 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.699/1.699, allocations: 205.4 MB / 0.6306 GB, free: 10.06 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.0008988/0.0008989, allocations: 90.92 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004389, allocations: 13.88 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.24, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7758/1.016, allocations: 138.6 MB / 1.115 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/1.016, allocations: 74.72 kB / 1.115 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006682/1.023, allocations: 2.434 MB / 1.117 GB, free: 32.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.643e-06/1.023, allocations: 0 / 1.117 GB, free: 32.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.716e-06/1.023, allocations: 0 / 1.117 GB, free: 32.07 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.0004965/1.023, allocations: 0.5091 MB / 1.118 GB, free: 31.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.023, allocations: 7.844 kB / 1.118 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/1.024, allocations: 11.59 kB / 1.118 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/1.024, allocations: 177.2 kB / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/1.024, allocations: 0 / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/1.024, allocations: 3.969 kB / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/1.024, allocations: 241.3 kB / 1.118 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.024, allocations: 0 / 1.118 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/1.024, allocations: 3.938 kB / 1.118 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.024, allocations: 3.234 kB / 1.118 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/1.024, allocations: 149 kB / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/1.024, allocations: 226.6 kB / 1.119 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/1.025, allocations: 0.5359 MB / 1.119 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/1.025, allocations: 5.391 kB / 1.119 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003654/1.025, allocations: 384.2 kB / 1.119 GB, free: 31.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 1.373e-06/1.025, allocations: 0 / 1.119 GB, free: 31.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.0008173/1.026, allocations: 0.8013 MB / 1.12 GB, free: 30.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/1.026, allocations: 108.8 kB / 1.12 GB, free: 30.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.023e-05/1.026, allocations: 91.7 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/1.026, allocations: 25.7 kB / 1.12 GB, free: 30.65 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/1.026, allocations: 84.36 kB / 1.121 GB, free: 30.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-05/1.026, allocations: 72.45 kB / 1.121 GB, free: 30.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/1.026, allocations: 3.688 kB / 1.121 GB, free: 30.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.027, allocations: 324.3 kB / 1.121 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.546e-05/1.027, allocations: 82.14 kB / 1.121 GB, free: 30.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.545e-05/1.027, allocations: 84.84 kB / 1.121 GB, free: 30.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/1.027, allocations: 174.3 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.027, allocations: 0 / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003022/1.027, allocations: 344.8 kB / 1.122 GB, free: 30.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.415e-05/1.027, allocations: 79.47 kB / 1.122 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/1.027, allocations: 0 / 1.122 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/1.027, allocations: 0 / 1.122 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.302e-05/1.027, allocations: 0 / 1.122 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/1.027, allocations: 0 / 1.122 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.308e-05/1.027, allocations: 23.41 kB / 1.122 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/1.027, allocations: 11.72 kB / 1.122 GB, free: 30.04 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition1,occ.occ,occ.mu,$PRE.occ.tNext,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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0002386/1.028, allocations: 266.4 kB / 1.122 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/1.028, allocations: 27.39 kB / 1.122 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.647e-05/1.028, allocations: 8.219 kB / 1.122 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/1.028, allocations: 0 / 1.122 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.028, allocations: 0 / 1.122 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.028, allocations: 0 / 1.122 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/1.028, allocations: 272 kB / 1.122 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/1.028, allocations: 0 / 1.122 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/1.028, allocations: 0 / 1.122 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/1.028, allocations: 8.141 kB / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/1.028, allocations: 20.81 kB / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/1.028, allocations: 0 / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/1.028, allocations: 0 / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009703/1.029, allocations: 1.281 MB / 1.123 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/1.029, allocations: 92.77 kB / 1.124 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/1.029, allocations: 86.27 kB / 1.124 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/1.029, allocations: 11.78 kB / 1.124 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/1.029, allocations: 10.39 kB / 1.124 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/1.029, allocations: 21.89 kB / 1.124 GB, free: 29.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.845e-05/1.029, allocations: 79.22 kB / 1.124 GB, free: 29.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.029, allocations: 0 / 1.124 GB, free: 29.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003043/1.03, allocations: 79.31 kB / 1.124 GB, free: 29.36 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: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0004425/1.03, allocations: 242.8 kB / 1.124 GB, free: 29.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001269/1.031, allocations: 1.966 MB / 1.126 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.031, allocations: 3.25 kB / 1.126 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/1.033, allocations: 2.022 MB / 1.128 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/1.033, allocations: 13.31 kB / 1.128 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000528/1.033, allocations: 349.3 kB / 1.128 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/1.034, allocations: 0.7196 MB / 1.129 GB, free: 28.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.454e-05/1.034, allocations: 0 / 1.129 GB, free: 28.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.285e-05/1.034, allocations: 11.44 kB / 1.129 GB, free: 28.24 MB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/1.034, allocations: 0 / 1.129 GB, free: 28.24 MB / 0.698 GB Notification: Performance of Templates: time 0.005295/1.039, allocations: 2.748 MB / 1.132 GB, free: 27.95 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)