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: "" <> 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01699/0.01699, allocations: 106.6 kB / 15.05 MB, free: 5.93 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.001803/0.001802, allocations: 186.4 kB / 15.94 MB, free: 5.895 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 2.162/2.162, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.603/2.603, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005001/0.0005001, allocations: 12 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7013/0.7019, allocations: 98.71 MB / 0.6834 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2332/0.9351, allocations: 125.1 MB / 0.8056 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.9355, allocations: 83.94 kB / 0.8057 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01027/0.9458, allocations: 2.379 MB / 0.808 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9458, allocations: 0 / 0.808 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.9458, allocations: 0 / 0.808 GB, free: 14.6 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.0006611/0.9465, allocations: 435.8 kB / 0.8084 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.9466, allocations: 8.031 kB / 0.8084 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.599e-05/0.9466, allocations: 54.39 kB / 0.8085 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.9468, allocations: 15.77 kB / 0.8085 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.9469, allocations: 174.9 kB / 0.8087 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.947, allocations: 0 / 0.8087 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.947, allocations: 7.984 kB / 0.8087 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/0.9474, allocations: 181.3 kB / 0.8088 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.9474, allocations: 0 / 0.8088 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.9474, allocations: 0 / 0.8088 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.9474, allocations: 4 kB / 0.8088 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.9476, allocations: 79.98 kB / 0.8089 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.9479, allocations: 221.4 kB / 0.8091 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.9482, allocations: 142.5 kB / 0.8093 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.9482, allocations: 0 / 0.8093 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004/0.9486, allocations: 198.8 kB / 0.8095 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 2.004e-06/0.9486, allocations: 4 kB / 0.8095 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.00124/0.9499, allocations: 0.6692 MB / 0.8101 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.506e-05/0.95, allocations: 99.3 kB / 0.8102 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.9501, allocations: 108.9 kB / 0.8103 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.393e-05/0.9502, allocations: 61.62 kB / 0.8104 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.9502, allocations: 81.14 kB / 0.8104 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.9504, allocations: 106.8 kB / 0.8105 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/0.9504, allocations: 4 kB / 0.8105 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.9506, allocations: 346.8 kB / 0.8109 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.951, allocations: 165 kB / 0.811 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.9514, allocations: 238 kB / 0.8113 GB, free: 11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004322/0.9518, allocations: 201.8 kB / 0.8115 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.9519, allocations: 4 kB / 0.8115 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001046/0.9529, allocations: 492.7 kB / 0.8119 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.953, allocations: 4 kB / 0.8119 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.953, allocations: 4 kB / 0.8119 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.953, allocations: 0 / 0.8119 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.9532, allocations: 27.86 kB / 0.812 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.9532, allocations: 4 kB / 0.812 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.9534, allocations: 31.59 kB / 0.812 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.9535, allocations: 20.12 kB / 0.812 GB, free: 10.22 MB / 0.6355 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.0003149/0.9538, allocations: 203.2 kB / 0.8122 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.9538, allocations: 15.8 kB / 0.8122 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.9539, allocations: 5.219 kB / 0.8122 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.9539, allocations: 0 / 0.8122 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.9539, allocations: 0 / 0.8122 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.9539, allocations: 3.938 kB / 0.8122 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.9542, allocations: 209.5 kB / 0.8124 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.9542, allocations: 0 / 0.8124 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.623e-06/0.9542, allocations: 3.938 kB / 0.8124 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.9542, allocations: 7.984 kB / 0.8124 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.9542, allocations: 4 kB / 0.8124 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.9542, allocations: 0 / 0.8124 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.9543, allocations: 3.938 kB / 0.8125 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009268/0.9552, allocations: 485.7 kB / 0.8129 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.9553, allocations: 96.94 kB / 0.813 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.9554, allocations: 35.97 kB / 0.813 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.931e-05/0.9555, allocations: 3.984 kB / 0.813 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.9556, allocations: 8 kB / 0.8131 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/0.9556, allocations: 11.98 kB / 0.8131 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.572e-05/0.9557, allocations: 79.28 kB / 0.8131 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9557, allocations: 0 / 0.8131 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004546/0.9562, allocations: 51.94 kB / 0.8132 GB, free: 8.914 MB / 0.6355 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.001751/0.9579, allocations: 1.173 MB / 0.8143 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000752/0.9587, allocations: 352.8 kB / 0.8147 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.9587, allocations: 0 / 0.8147 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.9589, allocations: 124 kB / 0.8148 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.9592, allocations: 8 kB / 0.8148 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.9602, allocations: 401.1 kB / 0.8152 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.9606, allocations: 0.7246 MB / 0.8159 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.756e-05/0.9606, allocations: 21.41 kB / 0.8159 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.407e-05/0.9607, allocations: 39.42 kB / 0.8159 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of SimCode: time 1.703e-06/0.9608, allocations: 0 / 0.8159 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.9932, allocations: 3.431 MB / 0.8193 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003207/0.9935, allocations: 250.9 kB / 0.8195 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/3.622, allocations: 0 / 0.8195 GB, free: 2.461 MB / 0.6355 GB