Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004271/0.004275, allocations: 233.5 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001121/0.001121, allocations: 174 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.884/3.884, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.014/4.014, allocations: 472.3 MB / 0.9024 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006435/0.0006438, allocations: 17.28 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1772, allocations: 98.71 MB / 1.105 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.812/0.9892, allocations: 125.1 MB / 1.227 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.9896, allocations: 84.42 kB / 1.227 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.009597/0.9992, allocations: 2.379 MB / 1.229 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.466e-06/0.9993, allocations: 0.6562 kB / 1.229 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.9993, allocations: 4 kB / 1.229 GB, free: 26.71 MB / 0.6198 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.0005255/0.9998, allocations: 431.7 kB / 1.23 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.9999, allocations: 12.03 kB / 1.23 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/1, allocations: 9.219 kB / 1.23 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.8e-05/1, allocations: 180 kB / 1.23 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/1, allocations: 5.891 kB / 1.23 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/1, allocations: 4 kB / 1.23 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/1.001, allocations: 185 kB / 1.23 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/1.001, allocations: 0 / 1.23 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/1.001, allocations: 1.594 kB / 1.23 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/1.001, allocations: 0 / 1.23 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/1.001, allocations: 79.05 kB / 1.23 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/1.001, allocations: 224.1 kB / 1.23 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/1.001, allocations: 145.8 kB / 1.23 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/1.001, allocations: 116.8 kB / 1.231 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/1.001, allocations: 0 / 1.231 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003407/1.002, allocations: 199.8 kB / 1.231 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 2.004e-06/1.002, allocations: 1.219 kB / 1.231 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0009033/1.003, allocations: 0.567 MB / 1.231 GB, free: 25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.245e-05/1.003, allocations: 95.88 kB / 1.231 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/1.003, allocations: 116 kB / 1.231 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/1.003, allocations: 59.59 kB / 1.232 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/1.003, allocations: 84.52 kB / 1.232 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/1.003, allocations: 103.8 kB / 1.232 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/1.003, allocations: 3.375 kB / 1.232 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.003, allocations: 344.4 kB / 1.232 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/1.004, allocations: 164.4 kB / 1.232 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/1.004, allocations: 238.7 kB / 1.232 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/1.004, allocations: 214.5 kB / 1.233 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.004, allocations: 0 / 1.233 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008768/1.005, allocations: 493.5 kB / 1.233 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/1.005, allocations: 8.562 kB / 1.233 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.005, allocations: 0 / 1.233 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/1.005, allocations: 4 kB / 1.233 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/1.006, allocations: 23.02 kB / 1.233 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.006, allocations: 0 / 1.233 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/1.006, allocations: 39.72 kB / 1.233 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/1.006, allocations: 11.25 kB / 1.233 GB, free: 23.52 MB / 0.6198 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.0003068/1.006, allocations: 200.5 kB / 1.233 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/1.006, allocations: 12.61 kB / 1.233 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/1.006, allocations: 8.562 kB / 1.233 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.006, allocations: 4.516 kB / 1.233 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.006, allocations: 2.531 kB / 1.233 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/1.006, allocations: 0.5156 kB / 1.233 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/1.006, allocations: 208.7 kB / 1.234 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.006, allocations: 3.938 kB / 1.234 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-06/1.006, allocations: 0.9375 kB / 1.234 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/1.006, allocations: 1.656 kB / 1.234 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/1.006, allocations: 13.33 kB / 1.234 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/1.006, allocations: 0 / 1.234 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.006, allocations: 0 / 1.234 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007421/1.007, allocations: 492.7 kB / 1.234 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/1.007, allocations: 90.08 kB / 1.234 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/1.007, allocations: 42.2 kB / 1.234 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/1.007, allocations: 4.703 kB / 1.234 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/1.008, allocations: 1.922 kB / 1.234 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/1.008, allocations: 14.44 kB / 1.234 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.195e-05/1.008, allocations: 83.33 kB / 1.234 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/1.008, allocations: 0 / 1.234 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000439/1.008, allocations: 56.75 kB / 1.234 GB, free: 22.49 MB / 0.6198 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.0005446/1.009, allocations: 233.7 kB / 1.235 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006407/1.009, allocations: 358.1 kB / 1.235 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/1.009, allocations: 1.031 kB / 1.235 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/1.009, allocations: 124.2 kB / 1.235 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/1.01, allocations: 13.31 kB / 1.235 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/1.01, allocations: 351.1 kB / 1.235 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007203/1.011, allocations: 0.7238 MB / 1.236 GB, free: 37.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.192e-05/1.011, allocations: 18.92 kB / 1.236 GB, free: 37.01 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/1.011, allocations: 12.78 kB / 1.236 GB, free: 37.01 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/1.011, allocations: 0 / 1.236 GB, free: 37.01 MB / 0.6355 GB Notification: Performance of Templates: time 0.007011/1.018, allocations: 1.984 MB / 1.238 GB, free: 35.99 MB / 0.6355 GB