Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.28/5.28, allocations: 0.5623 GB / 0.5776 GB, free: 3.344 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002468/0.002468, allocations: 355 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.138/4.138, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001725/0.001724, allocations: 190.7 kB / 1.226 GB, free: 35.94 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006853/0.0006855, allocations: 12.56 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2136, allocations: 115.3 MB / 1.461 GB, free: 6.656 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9307/1.144, allocations: 138.4 MB / 1.596 GB, free: 3.469 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/1.145, allocations: 85.38 kB / 1.597 GB, free: 3.418 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.009564/1.154, allocations: 2.386 MB / 1.599 GB, free: 1.34 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.743e-06/1.154, allocations: 0 / 1.599 GB, free: 1.34 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.347e-06/1.154, allocations: 4 kB / 1.599 GB, free: 1.336 MB / 0.6667 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.0006021/1.155, allocations: 433.8 kB / 1.599 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/1.155, allocations: 12.03 kB / 1.599 GB, free: 0.8672 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/1.155, allocations: 11.81 kB / 1.599 GB, free: 0.8555 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/1.155, allocations: 174.9 kB / 1.599 GB, free: 0.6445 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/1.155, allocations: 3.984 kB / 1.599 GB, free: 0.6406 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/1.155, allocations: 4 kB / 1.599 GB, free: 0.6367 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/1.156, allocations: 185.1 kB / 1.6 GB, free: 0.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/1.156, allocations: 0 / 1.6 GB, free: 0.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/1.156, allocations: 4 kB / 1.6 GB, free: 0.4961 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/1.156, allocations: 4 kB / 1.6 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/1.156, allocations: 81.09 kB / 1.6 GB, free: 448 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/1.156, allocations: 221.4 kB / 1.6 GB, free: 196 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/1.157, allocations: 137.2 kB / 1.6 GB, free: 104 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/1.157, allocations: 116.8 kB / 1.6 GB, free: 36 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.567e-06/1.157, allocations: 0 / 1.6 GB, free: 36 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004039/1.157, allocations: 204.5 kB / 1.6 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 4.819e-06/1.157, allocations: 0 / 1.6 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.00106/1.158, allocations: 0.5683 MB / 1.601 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/1.158, allocations: 95.8 kB / 1.601 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/1.158, allocations: 121 kB / 1.601 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.081e-05/1.159, allocations: 60.67 kB / 1.601 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/1.159, allocations: 81.14 kB / 1.601 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/1.159, allocations: 93.8 kB / 1.601 GB, free: 15 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.672e-05/1.159, allocations: 15.44 kB / 1.601 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.159, allocations: 338.2 kB / 1.602 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/1.159, allocations: 170 kB / 1.602 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/1.16, allocations: 239.2 kB / 1.602 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/1.16, allocations: 214.6 kB / 1.602 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.16, allocations: 0 / 1.602 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.000944/1.161, allocations: 488.7 kB / 1.603 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/1.161, allocations: 11.98 kB / 1.603 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.161, allocations: 0 / 1.603 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/1.161, allocations: 4 kB / 1.603 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/1.161, allocations: 15.94 kB / 1.603 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/1.161, allocations: 4.125 kB / 1.603 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/1.162, allocations: 46.2 kB / 1.603 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/1.162, allocations: 8 kB / 1.603 GB, free: 13.77 MB / 0.6823 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.0003287/1.162, allocations: 215.1 kB / 1.603 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/1.162, allocations: 7.812 kB / 1.603 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/1.162, allocations: 9.219 kB / 1.603 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/1.162, allocations: 0 / 1.603 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.162, allocations: 0 / 1.603 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.162, allocations: 0 / 1.603 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/1.162, allocations: 216.7 kB / 1.603 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.162, allocations: 4 kB / 1.603 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.403e-06/1.162, allocations: 0 / 1.603 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/1.162, allocations: 0 / 1.603 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/1.162, allocations: 7.984 kB / 1.603 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.162, allocations: 0 / 1.603 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.162, allocations: 0 / 1.603 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008853/1.163, allocations: 483.7 kB / 1.604 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/1.163, allocations: 100.8 kB / 1.604 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/1.164, allocations: 39.7 kB / 1.604 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.312e-05/1.164, allocations: 8 kB / 1.604 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/1.164, allocations: 3.625 kB / 1.604 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/1.164, allocations: 11.98 kB / 1.604 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.169e-05/1.164, allocations: 79.28 kB / 1.604 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/1.164, allocations: 0 / 1.604 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004522/1.164, allocations: 63.67 kB / 1.604 GB, free: 12.62 MB / 0.6823 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.0006073/1.165, allocations: 225.2 kB / 1.604 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000676/1.166, allocations: 351.9 kB / 1.605 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.166, allocations: 0 / 1.605 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/1.166, allocations: 125.4 kB / 1.605 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/1.166, allocations: 15.61 kB / 1.605 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000716/1.167, allocations: 346 kB / 1.605 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/1.167, allocations: 0.7214 MB / 1.606 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.7e-05/1.167, allocations: 25.36 kB / 1.606 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/1.167, allocations: 15.44 kB / 1.606 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of SimCode: time 1.152e-06/1.167, allocations: 0 / 1.606 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of Templates: time 0.007518/1.175, allocations: 1.979 MB / 1.608 GB, free: 9.027 MB / 0.6823 GB