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.01087/0.01087, allocations: 109.3 kB / 15.05 MB, free: 5.961 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.001141/0.001141, allocations: 185.8 kB / 15.94 MB, free: 5.926 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.127/2.127, allocations: 194.5 MB / 211.2 MB, free: 11.07 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.501/2.501, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004796, allocations: 12 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5405/0.541, allocations: 98.72 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1824/0.7234, allocations: 125.1 MB / 0.8055 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.7237, allocations: 79.95 kB / 0.8056 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.009162/0.7329, allocations: 2.375 MB / 0.8079 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.061e-06/0.733, allocations: 4 kB / 0.8079 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.733, allocations: 0 / 0.8079 GB, free: 14.75 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.0005734/0.7336, allocations: 435.7 kB / 0.8083 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.7336, allocations: 16.03 kB / 0.8083 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.7338, allocations: 7.906 kB / 0.8083 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.7339, allocations: 178.8 kB / 0.8085 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.734, allocations: 4 kB / 0.8085 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.734, allocations: 11.98 kB / 0.8085 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.7343, allocations: 181.3 kB / 0.8087 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.7344, allocations: 3.984 kB / 0.8087 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.7344, allocations: 0 / 0.8087 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.642e-06/0.7344, allocations: 4 kB / 0.8087 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.7346, allocations: 75.97 kB / 0.8088 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.7348, allocations: 229.4 kB / 0.809 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.7351, allocations: 142.5 kB / 0.8091 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.413e-06/0.7351, allocations: 0 / 0.8091 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003636/0.7355, allocations: 200.4 kB / 0.8093 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 2.262e-06/0.7355, allocations: 0 / 0.8093 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.001139/0.7367, allocations: 0.6653 MB / 0.81 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.915e-05/0.7368, allocations: 95.31 kB / 0.8101 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.7369, allocations: 108.9 kB / 0.8102 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.107e-05/0.737, allocations: 57.69 kB / 0.8102 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.737, allocations: 85.12 kB / 0.8103 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.7372, allocations: 98.84 kB / 0.8104 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/0.7372, allocations: 8 kB / 0.8104 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.7374, allocations: 345.1 kB / 0.8107 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.7377, allocations: 169 kB / 0.8109 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.7381, allocations: 238 kB / 0.8111 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.7385, allocations: 205.8 kB / 0.8113 GB, free: 11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.765e-06/0.7385, allocations: 4 kB / 0.8113 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008822/0.7394, allocations: 492.6 kB / 0.8118 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.7394, allocations: 5.406 kB / 0.8118 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.7394, allocations: 4 kB / 0.8118 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.7395, allocations: 0 / 0.8118 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.7396, allocations: 27.86 kB / 0.8118 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.7396, allocations: 4 kB / 0.8118 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.7398, allocations: 35.59 kB / 0.8119 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.7398, allocations: 12 kB / 0.8119 GB, free: 10.42 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.000278/0.7401, allocations: 203.1 kB / 0.8121 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.7401, allocations: 11.81 kB / 0.8121 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.7402, allocations: 13.44 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.189e-06/0.7402, allocations: 3.984 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.7402, allocations: 0 / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.85e-06/0.7402, allocations: 4 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.7405, allocations: 205.4 kB / 0.8123 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.367e-06/0.7405, allocations: 0 / 0.8123 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.002e-06/0.7405, allocations: 0 / 0.8123 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.7405, allocations: 0 / 0.8123 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.7405, allocations: 7.984 kB / 0.8123 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.429e-06/0.7406, allocations: 4 kB / 0.8123 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.719e-06/0.7406, allocations: 7.875 kB / 0.8123 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008396/0.7414, allocations: 485.8 kB / 0.8128 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.7415, allocations: 96.89 kB / 0.8129 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.55e-05/0.7416, allocations: 36.09 kB / 0.8129 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.7417, allocations: 7.984 kB / 0.8129 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.7417, allocations: 4 kB / 0.8129 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.7418, allocations: 19.98 kB / 0.8129 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.421e-05/0.7419, allocations: 83.22 kB / 0.813 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.89e-07/0.7419, allocations: 0 / 0.813 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004288/0.7423, allocations: 55.94 kB / 0.8131 GB, free: 9.098 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.0005267/0.7428, allocations: 221.5 kB / 0.8133 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006223/0.7435, allocations: 360.9 kB / 0.8136 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.779e-06/0.7435, allocations: 0 / 0.8136 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.7437, allocations: 127.9 kB / 0.8138 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.7439, allocations: 4 kB / 0.8138 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006587/0.7446, allocations: 351.3 kB / 0.8141 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.745, allocations: 0.7168 MB / 0.8148 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.54e-05/0.745, allocations: 17.42 kB / 0.8148 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.7451, allocations: 19.44 kB / 0.8148 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of SimCode: time 1.633e-06/0.7451, allocations: 4 kB / 0.8148 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of Templates: time 0.006415/0.7515, allocations: 1.964 MB / 0.8167 GB, free: 5.297 MB / 0.6355 GB