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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.49/4.49, allocations: 433.2 MB / 440.7 MB, free: 4.527 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.84e-05/2.837e-05, allocations: 2.656 kB / 0.5325 GB, free: 12.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.256, allocations: 98.73 MB / 0.6289 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2385/0.4946, allocations: 124.3 MB / 0.7503 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.4949, allocations: 79.94 kB / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009568/0.5045, allocations: 2.366 MB / 0.7527 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5046, allocations: 0 / 0.7527 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.5046, allocations: 4 kB / 0.7527 GB, free: 10.09 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.0005604/0.5052, allocations: 418.8 kB / 0.7531 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.5052, allocations: 12.03 kB / 0.7531 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.5053, allocations: 15.8 kB / 0.7531 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.5055, allocations: 171 kB / 0.7533 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.5055, allocations: 4 kB / 0.7533 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.5056, allocations: 11.97 kB / 0.7533 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001432/0.5057, allocations: 71.98 kB / 0.7534 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.5061, allocations: 177.6 kB / 0.7536 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5061, allocations: 0 / 0.7536 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.5061, allocations: 4 kB / 0.7536 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.5061, allocations: 3.938 kB / 0.7536 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.5064, allocations: 185.9 kB / 0.7537 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.5066, allocations: 138.6 kB / 0.7539 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.5068, allocations: 116.7 kB / 0.754 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.5068, allocations: 0 / 0.754 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003806/0.5072, allocations: 200.3 kB / 0.7542 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 2.054e-06/0.5072, allocations: 0 / 0.7542 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.0009009/0.5081, allocations: 448.2 kB / 0.7546 GB, free: 8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.625e-05/0.5082, allocations: 91.38 kB / 0.7547 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.5084, allocations: 112.9 kB / 0.7548 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.904e-05/0.5085, allocations: 49.62 kB / 0.7548 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.5085, allocations: 80.92 kB / 0.7549 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.5087, allocations: 98.89 kB / 0.755 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.5087, allocations: 0 / 0.755 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5089, allocations: 342.8 kB / 0.7553 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.5092, allocations: 157.1 kB / 0.7555 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/0.5096, allocations: 231 kB / 0.7557 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/0.51, allocations: 197.8 kB / 0.7559 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.51, allocations: 0 / 0.7559 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00093/0.511, allocations: 452.7 kB / 0.7563 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.511, allocations: 13.84 kB / 0.7563 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.511, allocations: 0 / 0.7563 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.5111, allocations: 4 kB / 0.7563 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.5113, allocations: 23.92 kB / 0.7564 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.5113, allocations: 4 kB / 0.7564 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.5115, allocations: 27.59 kB / 0.7564 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.5115, allocations: 15.94 kB / 0.7564 GB, free: 6.074 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.0002634/0.5118, allocations: 170.3 kB / 0.7566 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007963/0.5126, allocations: 445.4 kB / 0.757 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.5126, allocations: 7.812 kB / 0.757 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.5127, allocations: 17.95 kB / 0.757 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5127, allocations: 4.125 kB / 0.757 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5127, allocations: 4 kB / 0.757 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5127, allocations: 0 / 0.757 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.5129, allocations: 181.8 kB / 0.7572 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5129, allocations: 0 / 0.7572 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.763e-06/0.5129, allocations: 0 / 0.7572 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.513, allocations: 4 kB / 0.7572 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.513, allocations: 3.984 kB / 0.7572 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.513, allocations: 0 / 0.7572 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.513, allocations: 4 kB / 0.7572 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000825/0.5138, allocations: 484.8 kB / 0.7577 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.5139, allocations: 92.86 kB / 0.7578 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.514, allocations: 39.95 kB / 0.7578 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.527e-05/0.5141, allocations: 4 kB / 0.7578 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.5142, allocations: 7.984 kB / 0.7578 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.5142, allocations: 8 kB / 0.7578 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.245e-05/0.5143, allocations: 79.28 kB / 0.7579 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5143, allocations: 4 kB / 0.7579 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004627/0.5148, allocations: 47.92 kB / 0.758 GB, free: 4.406 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.001678/0.5165, allocations: 1.131 MB / 0.7591 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006445/0.5171, allocations: 336.6 kB / 0.7594 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5172, allocations: 4 kB / 0.7594 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.5174, allocations: 128 kB / 0.7595 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.5176, allocations: 10.3 kB / 0.7595 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007786/0.5184, allocations: 294.3 kB / 0.7598 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.5187, allocations: 0.7209 MB / 0.7605 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.97e-05/0.5188, allocations: 17.2 kB / 0.7605 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.028e-05/0.5189, allocations: 31.44 kB / 0.7605 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of SimCode: time 8.41e-07/0.5189, allocations: 0 / 0.7605 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03816/0.5571, allocations: 3.18 MB / 0.7636 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003307/0.5575, allocations: 189.9 kB / 0.7638 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/3.143, allocations: 0 / 0.7638 GB, free: 14.31 MB / 0.6511 GB