Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.449/4.449, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.71e-05/1.719e-05, allocations: 0 / 0.5325 GB, free: 1.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4937/0.4938, allocations: 98.72 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1909/0.6847, allocations: 124.3 MB / 0.7503 GB, free: 3.195 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.685, allocations: 87.83 kB / 0.7504 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.008981/0.694, allocations: 2.364 MB / 0.7527 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.071e-06/0.694, allocations: 0 / 0.7527 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.6941, allocations: 8 kB / 0.7527 GB, free: 0.7344 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.0005581/0.6946, allocations: 426.7 kB / 0.7531 GB, free: 280 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.6947, allocations: 8.031 kB / 0.7531 GB, free: 272 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.6948, allocations: 15.86 kB / 0.7532 GB, free: 256 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.695, allocations: 170.9 kB / 0.7533 GB, free: 44 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.695, allocations: 4 kB / 0.7533 GB, free: 40 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.695, allocations: 4 kB / 0.7533 GB, free: 36 kB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001668/0.6952, allocations: 72.03 kB / 0.7534 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.6955, allocations: 177.5 kB / 0.7536 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.142e-06/0.6956, allocations: 0 / 0.7536 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.6956, allocations: 4 kB / 0.7536 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.118e-06/0.6956, allocations: 0 / 0.7536 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.6959, allocations: 189.9 kB / 0.7538 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.6961, allocations: 138.5 kB / 0.7539 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.6963, allocations: 116.6 kB / 0.754 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.6963, allocations: 7.984 kB / 0.754 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003369/0.6966, allocations: 196.3 kB / 0.7542 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 2.66e-06/0.6967, allocations: 0 / 0.7542 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.0008318/0.6975, allocations: 444.3 kB / 0.7546 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/0.6976, allocations: 95.3 kB / 0.7547 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.6977, allocations: 108.9 kB / 0.7548 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.134e-05/0.6978, allocations: 53.67 kB / 0.7549 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.6979, allocations: 80.92 kB / 0.7549 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.698, allocations: 98.94 kB / 0.755 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.698, allocations: 0 / 0.755 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.6982, allocations: 342.8 kB / 0.7554 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.6985, allocations: 157.1 kB / 0.7555 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.6989, allocations: 218.4 kB / 0.7557 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.6993, allocations: 203.9 kB / 0.7559 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.475e-06/0.6993, allocations: 0 / 0.7559 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008451/0.7001, allocations: 460.6 kB / 0.7564 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.7002, allocations: 4 kB / 0.7564 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.7002, allocations: 7.984 kB / 0.7564 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/0.7002, allocations: 4 kB / 0.7564 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.7004, allocations: 19.88 kB / 0.7564 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.7004, allocations: 8.125 kB / 0.7564 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.7005, allocations: 31.58 kB / 0.7564 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.7006, allocations: 16 kB / 0.7564 GB, free: 12.71 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 () * 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.0002182/0.7008, allocations: 166 kB / 0.7566 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.7008, allocations: 11.89 kB / 0.7566 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.7009, allocations: 9.906 kB / 0.7566 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-06/0.7009, allocations: 0 / 0.7566 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.722e-06/0.7009, allocations: 0 / 0.7566 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.7009, allocations: 0 / 0.7566 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.7011, allocations: 178.2 kB / 0.7568 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.503e-06/0.7011, allocations: 7.984 kB / 0.7568 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.199e-05/0.7012, allocations: 8.016 kB / 0.7568 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.131e-06/0.7012, allocations: 0 / 0.7568 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.7012, allocations: 7.984 kB / 0.7568 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.128e-06/0.7012, allocations: 0 / 0.7568 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.467e-06/0.7012, allocations: 0 / 0.7568 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008179/0.7021, allocations: 476.8 kB / 0.7573 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/0.7021, allocations: 96.84 kB / 0.7574 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.402e-05/0.7022, allocations: 43.92 kB / 0.7574 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.7023, allocations: 7.984 kB / 0.7574 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.7024, allocations: 7.938 kB / 0.7574 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.7024, allocations: 8 kB / 0.7574 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.616e-05/0.7025, allocations: 83.27 kB / 0.7575 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.18e-07/0.7025, allocations: 0 / 0.7575 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003997/0.7029, allocations: 47.94 kB / 0.7575 GB, free: 11.49 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) * 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.000526/0.7035, allocations: 227 kB / 0.7578 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005605/0.704, allocations: 336.6 kB / 0.7581 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.85e-06/0.704, allocations: 4 kB / 0.7581 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.7042, allocations: 120 kB / 0.7582 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.7044, allocations: 7.984 kB / 0.7582 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.7049, allocations: 239.1 kB / 0.7584 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.7054, allocations: 0.7209 MB / 0.7591 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.782e-05/0.7055, allocations: 17.2 kB / 0.7592 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.7055, allocations: 15.44 kB / 0.7592 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of SimCode: time 1.609e-06/0.7055, allocations: 0 / 0.7592 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of Templates: time 0.006438/0.712, allocations: 1.958 MB / 0.7611 GB, free: 7.816 MB / 0.6355 GB