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.388/2.388, allocations: 253.2 MB / 260.6 MB, free: 7.418 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.001458/0.001458, allocations: 176.9 kB / 319.9 MB, free: 3.078 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.5 MB / 0.5708 GB, free: 15.28 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.001054/0.001054, allocations: 88.44 kB / 0.6751 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.136e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1952, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9369/1.132, allocations: 132.2 MB / 1.018 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/1.133, allocations: 82.88 kB / 1.018 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01015/1.143, allocations: 2.356 MB / 1.02 GB, free: 3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/1.143, allocations: 0 / 1.02 GB, free: 3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.015e-05/1.143, allocations: 8 kB / 1.02 GB, free: 2.992 MB / 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.0006354/1.143, allocations: 423 kB / 1.021 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/1.143, allocations: 8.031 kB / 1.021 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/1.144, allocations: 11.91 kB / 1.021 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/1.144, allocations: 178.9 kB / 1.021 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/1.144, allocations: 0 / 1.021 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/1.144, allocations: 4 kB / 1.021 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001482/1.144, allocations: 75.73 kB / 1.021 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/1.144, allocations: 180.2 kB / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/1.144, allocations: 0 / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/1.144, allocations: 3.984 kB / 1.021 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/1.144, allocations: 6.438 kB / 1.021 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/1.145, allocations: 187.6 kB / 1.021 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/1.145, allocations: 148.2 kB / 1.021 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/1.145, allocations: 116.1 kB / 1.021 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/1.145, allocations: 4 kB / 1.021 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003606/1.145, allocations: 193.4 kB / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 2.525e-06/1.146, allocations: 0 / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.0008706/1.146, allocations: 449.6 kB / 1.022 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.939e-05/1.146, allocations: 90.12 kB / 1.022 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/1.147, allocations: 108.1 kB / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.337e-05/1.147, allocations: 52.31 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/1.147, allocations: 84.92 kB / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/1.147, allocations: 93.25 kB / 1.022 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/1.147, allocations: 3.938 kB / 1.022 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.147, allocations: 340.2 kB / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/1.147, allocations: 157.8 kB / 1.023 GB, free: 408 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/1.148, allocations: 222.7 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004228/1.148, allocations: 200.9 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/1.148, allocations: 4 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009951/1.149, allocations: 462.4 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/1.149, allocations: 9.094 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/1.149, allocations: 0 / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/1.149, allocations: 4 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/1.15, allocations: 23.81 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.15, allocations: 3.984 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/1.15, allocations: 27.59 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/1.15, allocations: 12 kB / 1.024 GB, free: 15.65 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.0002739/1.15, allocations: 169.2 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/1.15, allocations: 11.84 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/1.15, allocations: 5.969 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/1.15, allocations: 240 / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.15, allocations: 0 / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.15, allocations: 7.984 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/1.15, allocations: 180.8 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.15, allocations: 0 / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-05/1.15, allocations: 0.875 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.168e-06/1.15, allocations: 3.953 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/1.151, allocations: 4 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.151, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/1.151, allocations: 7.922 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008509/1.151, allocations: 475.2 kB / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.146e-05/1.151, allocations: 96.92 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/1.152, allocations: 39.05 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/1.152, allocations: 15.92 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/1.152, allocations: 4 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/1.152, allocations: 11.98 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.837e-05/1.152, allocations: 78.47 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/1.152, allocations: 0 / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004733/1.152, allocations: 47.94 kB / 1.025 GB, free: 14.57 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.0006529/1.153, allocations: 223.6 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006664/1.154, allocations: 337.5 kB / 1.026 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.154, allocations: 3.938 kB / 1.026 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/1.154, allocations: 125.6 kB / 1.026 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/1.154, allocations: 5.375 kB / 1.026 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/1.155, allocations: 242.2 kB / 1.026 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/1.155, allocations: 0.7207 MB / 1.027 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.969e-05/1.155, allocations: 25.17 kB / 1.027 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/1.155, allocations: 15.44 kB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of SimCode: time 1.172e-06/1.155, allocations: 0 / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of Templates: time 0.007876/1.163, allocations: 1.956 MB / 1.029 GB, free: 11.12 MB / 0.6511 GB