Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01453/0.01454, allocations: 89.69 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001976/0.001976, allocations: 175.6 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.32/2.32, allocations: 205.5 MB / 222.2 MB, free: 13.58 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.402/2.402, allocations: 252.8 MB / 0.511 GB, free: 8.305 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004744, allocations: 10.19 kB / 0.6243 GB, free: 21.11 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2707, allocations: 106.2 MB / 0.7281 GB, free: 8.121 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001811/0.2726, allocations: 1.058 MB / 0.7291 GB, free: 7.051 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0008633/0.2735, allocations: 328 kB / 0.7294 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.2735, allocations: 0 / 0.7294 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 7.574e-05/0.2736, allocations: 3.938 kB / 0.7294 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 2.499e-05/0.2737, allocations: 8 kB / 0.7294 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.2741, allocations: 63.78 kB / 0.7295 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.861e-05/0.2742, allocations: 23.97 kB / 0.7295 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.2742, allocations: 4 kB / 0.7295 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.714e-05/0.2743, allocations: 7.938 kB / 0.7295 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.939e-05/0.2743, allocations: 15.98 kB / 0.7295 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.2743, allocations: 0 / 0.7295 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.2745, allocations: 63.81 kB / 0.7296 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.2746, allocations: 23.92 kB / 0.7296 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.072e-05/0.2747, allocations: 41.64 kB / 0.7296 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.2749, allocations: 95.81 kB / 0.7297 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2749, allocations: 0 / 0.7297 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.793e-06/0.275, allocations: 0 / 0.7297 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.275, allocations: 0 / 0.7297 GB, free: 6.375 MB / 0.5573 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.0006876/0.2757, allocations: 416.3 kB / 0.7301 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.2757, allocations: 8.031 kB / 0.7301 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.236e-05/0.2758, allocations: 50.53 kB / 0.7302 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.2759, allocations: 19.81 kB / 0.7302 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.2761, allocations: 178.9 kB / 0.7304 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.2761, allocations: 0 / 0.7304 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.2761, allocations: 4 kB / 0.7304 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.2765, allocations: 181.6 kB / 0.7306 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2765, allocations: 0 / 0.7306 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.2765, allocations: 0 / 0.7306 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2766, allocations: 0 / 0.7306 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.2767, allocations: 75.92 kB / 0.7306 GB, free: 5.359 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.277, allocations: 209.4 kB / 0.7308 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.2772, allocations: 146.4 kB / 0.731 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.2773, allocations: 0 / 0.731 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004073/0.2777, allocations: 209.1 kB / 0.7312 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=39): time 2.164e-06/0.2777, allocations: 0 / 0.7312 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of matching and sorting (n=39): time 0.001225/0.2789, allocations: 0.6536 MB / 0.7318 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.991e-05/0.2791, allocations: 99.36 kB / 0.7319 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.2792, allocations: 117.8 kB / 0.732 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.062e-05/0.2793, allocations: 53.67 kB / 0.7321 GB, free: 3.766 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.2794, allocations: 89.14 kB / 0.7322 GB, free: 3.676 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.2795, allocations: 94.83 kB / 0.7322 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.2795, allocations: 12 kB / 0.7323 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2797, allocations: 338.8 kB / 0.7326 GB, free: 3.23 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.2801, allocations: 168.9 kB / 0.7327 GB, free: 3.062 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/0.2805, allocations: 238 kB / 0.733 GB, free: 2.809 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/0.281, allocations: 209.8 kB / 0.7332 GB, free: 2.609 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.281, allocations: 0 / 0.7332 GB, free: 2.609 MB / 0.5573 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001032/0.282, allocations: 492.7 kB / 0.7336 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.2821, allocations: 11.98 kB / 0.7336 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.2821, allocations: 0 / 0.7336 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.2821, allocations: 4 kB / 0.7337 GB, free: 2.109 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.2823, allocations: 15.94 kB / 0.7337 GB, free: 2.094 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.2823, allocations: 7.984 kB / 0.7337 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.2825, allocations: 35.59 kB / 0.7337 GB, free: 2.051 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.2825, allocations: 8 kB / 0.7337 GB, free: 2.043 MB / 0.5573 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.0003271/0.2829, allocations: 211.2 kB / 0.7339 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.2829, allocations: 11.81 kB / 0.7339 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.2829, allocations: 13.22 kB / 0.7339 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.283, allocations: 0 / 0.7339 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.283, allocations: 0 / 0.7339 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.283, allocations: 0 / 0.7339 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.2832, allocations: 197.4 kB / 0.7341 GB, free: 1.562 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2832, allocations: 0 / 0.7341 GB, free: 1.562 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.113e-06/0.2832, allocations: 0 / 0.7341 GB, free: 1.562 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2832, allocations: 0 / 0.7341 GB, free: 1.562 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.2833, allocations: 7.984 kB / 0.7341 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.2833, allocations: 0 / 0.7341 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2833, allocations: 3.938 kB / 0.7341 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008417/0.2841, allocations: 476.8 kB / 0.7346 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.2842, allocations: 92.86 kB / 0.7347 GB, free: 0.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.728e-05/0.2843, allocations: 31.98 kB / 0.7347 GB, free: 0.9258 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.577e-05/0.2844, allocations: 7.984 kB / 0.7347 GB, free: 0.918 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.2844, allocations: 0 / 0.7347 GB, free: 0.918 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.2845, allocations: 11.88 kB / 0.7347 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.073e-05/0.2845, allocations: 83.28 kB / 0.7348 GB, free: 0.8242 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2845, allocations: 0 / 0.7348 GB, free: 0.8242 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004203/0.285, allocations: 47.98 kB / 0.7349 GB, free: 0.7773 MB / 0.5573 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.001615/0.2866, allocations: 1.122 MB / 0.736 GB, free: 15.64 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0007651/0.2874, allocations: 356.8 kB / 0.7363 GB, free: 15.29 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2874, allocations: 0 / 0.7363 GB, free: 15.29 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.2876, allocations: 127.9 kB / 0.7364 GB, free: 15.16 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.2879, allocations: 11.98 kB / 0.7364 GB, free: 15.15 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009643/0.2888, allocations: 404.2 kB / 0.7368 GB, free: 14.71 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.2892, allocations: 0.7168 MB / 0.7375 GB, free: 13.97 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 6.592e-05/0.2893, allocations: 21.42 kB / 0.7375 GB, free: 13.95 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.069e-05/0.2894, allocations: 35.44 kB / 0.7376 GB, free: 13.92 MB / 0.573 GB Notification: Performance of SimCode: time 1.252e-06/0.2894, allocations: 0 / 0.7376 GB, free: 13.92 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.3165, allocations: 3.077 MB / 0.7406 GB, free: 10.95 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003806/0.3169, allocations: 245.2 kB / 0.7408 GB, free: 10.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/2.771, allocations: 0 / 0.7408 GB, free: 10.7 MB / 0.573 GB