Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.384/2.384, allocations: 252.6 MB / 265.2 MB, free: 5.82 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001386/0.001386, allocations: 179.8 kB / 324.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.4 MB / 0.5754 GB, free: 10.5 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 96.14 kB / 0.6797 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.374e-05/4.395e-05, allocations: 3.938 kB / 0.7911 GB, free: 96.63 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2424, allocations: 106.2 MB / 0.8949 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9029/1.145, allocations: 132 MB / 1.024 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/1.146, allocations: 81.19 kB / 1.024 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009975/1.156, allocations: 2.376 MB / 1.026 GB, free: 468 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/1.156, allocations: 3.938 kB / 1.026 GB, free: 464 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.045e-06/1.156, allocations: 0 / 1.026 GB, free: 464 kB / 0.6355 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.0005897/1.156, allocations: 419.9 kB / 1.027 GB, free: 12 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/1.156, allocations: 12.03 kB / 1.027 GB, free: 0 / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/1.157, allocations: 8.078 kB / 1.027 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/1.157, allocations: 182.7 kB / 1.027 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/1.157, allocations: 3.25 kB / 1.027 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/1.157, allocations: 4 kB / 1.027 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/1.157, allocations: 179.5 kB / 1.027 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/1.157, allocations: 0 / 1.027 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/1.157, allocations: 0 / 1.027 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/1.157, allocations: 0 / 1.027 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/1.157, allocations: 80.78 kB / 1.027 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000279/1.158, allocations: 233.4 kB / 1.027 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/1.158, allocations: 145 kB / 1.027 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/1.158, allocations: 114.9 kB / 1.027 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/1.158, allocations: 4 kB / 1.027 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000374/1.159, allocations: 193.7 kB / 1.028 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 2.264e-06/1.159, allocations: 0 / 1.028 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.0008654/1.159, allocations: 459.3 kB / 1.028 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.497e-05/1.16, allocations: 90.12 kB / 1.028 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/1.16, allocations: 108.5 kB / 1.028 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.23e-05/1.16, allocations: 56.56 kB / 1.028 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/1.16, allocations: 84.91 kB / 1.028 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/1.16, allocations: 99.67 kB / 1.029 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/1.16, allocations: 3.938 kB / 1.029 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.16, allocations: 344.1 kB / 1.029 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/1.161, allocations: 164.1 kB / 1.029 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/1.161, allocations: 239 kB / 1.029 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/1.161, allocations: 206.9 kB / 1.029 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/1.161, allocations: 4 kB / 1.029 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009677/1.162, allocations: 487.6 kB / 1.03 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/1.162, allocations: 8 kB / 1.03 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.162, allocations: 0 / 1.03 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/1.162, allocations: 7.938 kB / 1.03 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/1.163, allocations: 23.36 kB / 1.03 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/1.163, allocations: 0 / 1.03 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/1.163, allocations: 42.83 kB / 1.03 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/1.163, allocations: 15.23 kB / 1.03 GB, free: 13.01 MB / 0.6511 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.0002614/1.163, allocations: 177.9 kB / 1.03 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/1.163, allocations: 12.14 kB / 1.03 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/1.163, allocations: 9.328 kB / 1.03 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/1.163, allocations: 3.984 kB / 1.03 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.163, allocations: 0 / 1.03 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/1.163, allocations: 0 / 1.03 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/1.164, allocations: 217.1 kB / 1.03 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.164, allocations: 4 kB / 1.03 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.752e-06/1.164, allocations: 0 / 1.03 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/1.164, allocations: 0 / 1.03 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/1.164, allocations: 7.984 kB / 1.03 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/1.164, allocations: 4 kB / 1.03 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.164, allocations: 0 / 1.03 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008364/1.165, allocations: 483.5 kB / 1.031 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/1.165, allocations: 92.91 kB / 1.031 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/1.165, allocations: 38.22 kB / 1.031 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.572e-05/1.165, allocations: 3.938 kB / 1.031 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/1.165, allocations: 7.984 kB / 1.031 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/1.165, allocations: 8 kB / 1.031 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.416e-05/1.165, allocations: 90.77 kB / 1.031 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.81e-07/1.165, allocations: 0 / 1.031 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004265/1.165, allocations: 55.56 kB / 1.031 GB, free: 11.88 MB / 0.6511 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.0005998/1.166, allocations: 225.8 kB / 1.031 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006459/1.167, allocations: 348.8 kB / 1.032 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/1.167, allocations: 8.188 kB / 1.032 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/1.167, allocations: 129 kB / 1.032 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/1.167, allocations: 7.328 kB / 1.032 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/1.168, allocations: 241.8 kB / 1.032 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/1.168, allocations: 0.7168 MB / 1.033 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.668e-05/1.168, allocations: 25.19 kB / 1.033 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/1.168, allocations: 15.44 kB / 1.033 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/1.168, allocations: 0 / 1.033 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of Templates: time 0.007432/1.176, allocations: 1.986 MB / 1.035 GB, free: 8.391 MB / 0.6511 GB