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.01138/0.01138, allocations: 221 kB / 15.17 MB, free: 6 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.002963/0.002963, allocations: 176 kB / 16.06 MB, free: 5.871 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.715/3.715, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.252/4.252, allocations: 472.3 MB / 0.9018 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004855, allocations: 12 kB / 1.008 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.565/0.5655, allocations: 98.71 MB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001335/0.5669, allocations: 1.047 MB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006535/0.5676, allocations: 319.4 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.268e-05/0.5676, allocations: 3.406 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 6.19e-05/0.5677, allocations: 3.938 kB / 1.105 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.624e-05/0.5677, allocations: 4.562 kB / 1.105 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.5681, allocations: 61.55 kB / 1.105 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.105e-05/0.5682, allocations: 36.7 kB / 1.105 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.5682, allocations: 5.406 kB / 1.105 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.716e-05/0.5682, allocations: 10.16 kB / 1.105 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.128e-05/0.5683, allocations: 16.78 kB / 1.105 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.5683, allocations: 3.781 kB / 1.105 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.5685, allocations: 67.98 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.537e-05/0.5685, allocations: 22.84 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.5686, allocations: 37.92 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.5688, allocations: 94.73 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.456e-06/0.5688, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.281e-06/0.5688, allocations: 3.031 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5688, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 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.0004444/0.5693, allocations: 424.4 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.5693, allocations: 7.375 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.5694, allocations: 11.72 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.07e-05/0.5695, allocations: 182.1 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.5696, allocations: 7.156 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.5696, allocations: 3.531 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.5698, allocations: 180.9 kB / 1.106 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.5698, allocations: 0 / 1.106 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.5699, allocations: 0 / 1.106 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.5699, allocations: 0 / 1.106 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.957e-05/0.57, allocations: 75.78 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.5702, allocations: 212.5 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.5704, allocations: 143.9 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.5705, allocations: 114.7 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.5706, allocations: 3 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002914/0.5709, allocations: 206.7 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 2.577e-06/0.5709, allocations: 0 / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0008592/0.5717, allocations: 0.5585 MB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.5718, allocations: 88.14 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.5719, allocations: 119 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/0.572, allocations: 61.75 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.451e-05/0.572, allocations: 85.45 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.693e-05/0.5721, allocations: 94.72 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/0.5721, allocations: 6.375 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.536e-05/0.5722, allocations: 343.4 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.5725, allocations: 166.2 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.5728, allocations: 240.2 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.5732, allocations: 203.4 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.019e-06/0.5732, allocations: 0 / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008209/0.574, allocations: 493.9 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.5741, allocations: 10.62 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.5741, allocations: 7.906 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.5741, allocations: 3.062 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.5743, allocations: 22.62 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.5743, allocations: 5.75 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.5744, allocations: 40.09 kB / 1.11 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.5745, allocations: 13.75 kB / 1.11 GB, free: 209.2 MB / 0.7292 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.0002183/0.5747, allocations: 202.5 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.5748, allocations: 14.69 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.991e-05/0.5748, allocations: 5.219 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.261e-06/0.5748, allocations: 0.9688 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.962e-06/0.5748, allocations: 1.031 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.572e-06/0.5748, allocations: 6.516 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.5749, allocations: 198.4 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.691e-06/0.575, allocations: 1.094 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.241e-06/0.575, allocations: 0 / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.575, allocations: 3.906 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.575, allocations: 3.25 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.575, allocations: 3.938 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.681e-06/0.575, allocations: 2.578 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007083/0.5758, allocations: 479.5 kB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.5758, allocations: 93.45 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.5759, allocations: 29.88 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.601e-05/0.5759, allocations: 2.156 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.576, allocations: 9.188 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.576, allocations: 5.156 kB / 1.111 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.912e-05/0.576, allocations: 82.31 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.84e-07/0.5761, allocations: 0 / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003955/0.5765, allocations: 53.25 kB / 1.111 GB, free: 208.4 MB / 0.7292 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.0004534/0.5769, allocations: 227 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005668/0.5775, allocations: 354.4 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.779e-06/0.5775, allocations: 0 / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.5777, allocations: 128.9 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.578, allocations: 11.98 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.5785, allocations: 344.2 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.5787, allocations: 0.724 MB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.379e-05/0.5788, allocations: 16.44 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.5788, allocations: 16.62 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of SimCode: time 1.82e-06/0.5788, allocations: 0 / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of Templates: time 0.005536/0.5844, allocations: 1.615 MB / 1.114 GB, free: 207.2 MB / 0.7292 GB