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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.262/4.262, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.301e-05/3.32e-05, allocations: 7.531 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2194, allocations: 98.73 MB / 0.6347 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2819/0.5014, allocations: 125 MB / 0.7568 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.5018, allocations: 83.88 kB / 0.7569 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01013/0.512, allocations: 2.37 MB / 0.7592 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.923e-06/0.512, allocations: 0 / 0.7592 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.512, allocations: 0 / 0.7592 GB, free: 2.289 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.0005827/0.5126, allocations: 418.8 kB / 0.7596 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.5127, allocations: 8.031 kB / 0.7596 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.467e-05/0.5128, allocations: 42.55 kB / 0.7596 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.5129, allocations: 11.86 kB / 0.7596 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.513, allocations: 178.9 kB / 0.7598 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.5131, allocations: 12 kB / 0.7598 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.5131, allocations: 4 kB / 0.7598 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.5135, allocations: 177.3 kB / 0.76 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.5135, allocations: 0 / 0.76 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.5135, allocations: 0 / 0.76 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.5136, allocations: 4 kB / 0.76 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.5137, allocations: 79.97 kB / 0.7601 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002603/0.514, allocations: 217.3 kB / 0.7603 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.5142, allocations: 150.5 kB / 0.7604 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.5144, allocations: 112.9 kB / 0.7605 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-06/0.5144, allocations: 0 / 0.7605 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004108/0.5149, allocations: 202.3 kB / 0.7607 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 2.185e-06/0.5149, allocations: 0 / 0.7607 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.0008733/0.5158, allocations: 452.2 kB / 0.7612 GB, free: 88 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.5159, allocations: 95.36 kB / 0.7613 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.516, allocations: 116.9 kB / 0.7614 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.116e-05/0.5161, allocations: 61.62 kB / 0.7614 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.5162, allocations: 84.86 kB / 0.7615 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.5163, allocations: 98.94 kB / 0.7616 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.5164, allocations: 8 kB / 0.7616 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5165, allocations: 338.8 kB / 0.7619 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.5169, allocations: 161.1 kB / 0.7621 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.5173, allocations: 242.7 kB / 0.7623 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.5178, allocations: 206.9 kB / 0.7625 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5178, allocations: 3.938 kB / 0.7625 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009935/0.5188, allocations: 488.7 kB / 0.763 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.5188, allocations: 4 kB / 0.763 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.5188, allocations: 8.062 kB / 0.763 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.5189, allocations: 0 / 0.763 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.5191, allocations: 23.92 kB / 0.763 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.5191, allocations: 4 kB / 0.763 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.5193, allocations: 31.59 kB / 0.763 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.5193, allocations: 16 kB / 0.7631 GB, free: 14.07 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.0002642/0.5196, allocations: 174.2 kB / 0.7632 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.5196, allocations: 7.906 kB / 0.7632 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.5197, allocations: 13.33 kB / 0.7632 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5197, allocations: 4 kB / 0.7633 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5197, allocations: 0 / 0.7633 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5197, allocations: 0 / 0.7633 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.52, allocations: 221.2 kB / 0.7635 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.52, allocations: 0 / 0.7635 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-05/0.52, allocations: 3.938 kB / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.52, allocations: 0 / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.52, allocations: 7.984 kB / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.52, allocations: 0 / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5201, allocations: 4 kB / 0.7635 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008716/0.5209, allocations: 484.7 kB / 0.7639 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.521, allocations: 92.94 kB / 0.764 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.5211, allocations: 35.97 kB / 0.7641 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/0.5212, allocations: 4.234 kB / 0.7641 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.5213, allocations: 3.984 kB / 0.7641 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.5213, allocations: 8 kB / 0.7641 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.389e-05/0.5214, allocations: 95.25 kB / 0.7642 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5214, allocations: 0 / 0.7642 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004317/0.5219, allocations: 52 kB / 0.7642 GB, free: 12.79 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.03803/0.5599, allocations: 1.146 MB / 0.7653 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001184/0.5612, allocations: 360.8 kB / 0.7657 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.5612, allocations: 0 / 0.7657 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.5615, allocations: 124 kB / 0.7658 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.5619, allocations: 5.5 kB / 0.7658 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.5631, allocations: 308.9 kB / 0.7661 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.5636, allocations: 0.7246 MB / 0.7668 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.873e-05/0.5637, allocations: 17.2 kB / 0.7668 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.5639, allocations: 43.42 kB / 0.7669 GB, free: 10 MB / 0.6511 GB Notification: Performance of SimCode: time 1.282e-06/0.5639, allocations: 0 / 0.7669 GB, free: 10 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/0.5949, allocations: 3.49 MB / 0.7703 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003479/0.5953, allocations: 209.8 kB / 0.7705 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.113, allocations: 0 / 0.7705 GB, free: 6.371 MB / 0.6511 GB