Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",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.01492/0.01493, allocations: 89.61 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.002056/0.002057, allocations: 175.1 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.29/2.29, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.617/2.617, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006492/0.0006494, allocations: 13.56 kB / 0.6243 GB, free: 28.46 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2473, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003356/0.2507, allocations: 1.829 MB / 0.7299 GB, free: 8.32 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002334/0.2531, allocations: 1.036 MB / 0.7309 GB, free: 7.277 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.2533, allocations: 8 kB / 0.7309 GB, free: 7.27 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007264/0.254, allocations: 175.3 kB / 0.731 GB, free: 7.098 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.2544, allocations: 107.7 kB / 0.7311 GB, free: 6.992 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.2549, allocations: 79.84 kB / 0.7312 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.2552, allocations: 143.7 kB / 0.7314 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.2554, allocations: 52.22 kB / 0.7314 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.2556, allocations: 87.62 kB / 0.7315 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.2557, allocations: 83.62 kB / 0.7316 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.2558, allocations: 0 / 0.7316 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.2559, allocations: 23.94 kB / 0.7316 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.2561, allocations: 83.72 kB / 0.7317 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.712e-05/0.2562, allocations: 81.45 kB / 0.7317 GB, free: 6.363 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.2566, allocations: 247.7 kB / 0.732 GB, free: 6.121 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2566, allocations: 0 / 0.732 GB, free: 6.121 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2566, allocations: 0 / 0.732 GB, free: 6.121 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2566, allocations: 0 / 0.732 GB, free: 6.121 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001124/0.2577, allocations: 0.6221 MB / 0.7326 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.2578, allocations: 8.031 kB / 0.7326 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.794e-05/0.2579, allocations: 46.52 kB / 0.7326 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.901e-05/0.258, allocations: 43.44 kB / 0.7327 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.2585, allocations: 323.3 kB / 0.733 GB, free: 4.988 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.2586, allocations: 4 kB / 0.733 GB, free: 4.984 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.2586, allocations: 8 kB / 0.733 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.2589, allocations: 69.66 kB / 0.7331 GB, free: 4.902 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2589, allocations: 0 / 0.7331 GB, free: 4.902 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.2589, allocations: 4 kB / 0.7331 GB, free: 4.898 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.2589, allocations: 11.89 kB / 0.7331 GB, free: 4.887 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.2591, allocations: 35.97 kB / 0.7331 GB, free: 4.852 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008518/0.26, allocations: 456.5 kB / 0.7336 GB, free: 4.355 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.2602, allocations: 70.62 kB / 0.7336 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.2603, allocations: 4 kB / 0.7336 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002641/0.2606, allocations: 79.34 kB / 0.7337 GB, free: 4.184 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 2.665e-06/0.2606, allocations: 0 / 0.7337 GB, free: 4.184 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0004768/0.2611, allocations: 137.2 kB / 0.7338 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.2611, allocations: 51.41 kB / 0.7339 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008842/0.262, allocations: 0.5292 MB / 0.7344 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.2621, allocations: 33.7 kB / 0.7344 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.2623, allocations: 212 kB / 0.7346 GB, free: 3.191 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.2623, allocations: 15.89 kB / 0.7347 GB, free: 3.176 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/0.2624, allocations: 4 kB / 0.7347 GB, free: 3.172 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2625, allocations: 350.8 kB / 0.735 GB, free: 2.82 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.2627, allocations: 55.88 kB / 0.735 GB, free: 2.766 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.2629, allocations: 74.48 kB / 0.7351 GB, free: 2.684 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.2631, allocations: 54.36 kB / 0.7352 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.2631, allocations: 0 / 0.7352 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005028/0.2637, allocations: 193.1 kB / 0.7353 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2637, allocations: 4 kB / 0.7354 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2637, allocations: 3.938 kB / 0.7354 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2637, allocations: 4 kB / 0.7354 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.2639, allocations: 23.98 kB / 0.7354 GB, free: 2.402 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.264, allocations: 0 / 0.7354 GB, free: 2.402 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.2642, allocations: 27.86 kB / 0.7354 GB, free: 2.375 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.2642, allocations: 7.984 kB / 0.7354 GB, free: 2.367 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * 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.000271/0.2645, allocations: 181.7 kB / 0.7356 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.998e-05/0.2646, allocations: 47.5 kB / 0.7356 GB, free: 2.133 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.2647, allocations: 51.73 kB / 0.7357 GB, free: 2.078 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2647, allocations: 0 / 0.7357 GB, free: 2.078 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2648, allocations: 0 / 0.7357 GB, free: 2.078 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2648, allocations: 4 kB / 0.7357 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.2651, allocations: 297.5 kB / 0.736 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2651, allocations: 0 / 0.736 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.2652, allocations: 8.234 kB / 0.736 GB, free: 1.727 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2652, allocations: 3.953 kB / 0.736 GB, free: 1.723 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.2652, allocations: 4 kB / 0.736 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2652, allocations: 0 / 0.736 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2653, allocations: 0 / 0.736 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.2656, allocations: 156.6 kB / 0.7361 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.2658, allocations: 116.5 kB / 0.7362 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.823e-05/0.2658, allocations: 3.953 kB / 0.7363 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.266, allocations: 11.98 kB / 0.7363 GB, free: 1.398 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.2661, allocations: 11.98 kB / 0.7363 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.2661, allocations: 4 kB / 0.7363 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005921/0.2667, allocations: 350.8 kB / 0.7366 GB, free: 1.043 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2667, allocations: 0 / 0.7366 GB, free: 1.043 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003825/0.2671, allocations: 39.98 kB / 0.7367 GB, free: 1.004 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: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001787/0.2689, allocations: 1.018 MB / 0.7376 GB, free: 108 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003761/0.2693, allocations: 91.89 kB / 0.7377 GB, free: 16 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.2693, allocations: 12 kB / 0.7377 GB, free: 4 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.2695, allocations: 24.02 kB / 0.7378 GB, free: 15.98 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.27, allocations: 53.88 kB / 0.7378 GB, free: 15.92 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.272, allocations: 1.134 MB / 0.7389 GB, free: 14.74 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.2725, allocations: 0.8189 MB / 0.7397 GB, free: 13.89 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001481/0.2727, allocations: 25.53 kB / 0.7398 GB, free: 13.87 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.2729, allocations: 119.4 kB / 0.7399 GB, free: 13.75 MB / 0.573 GB Notification: Performance of SimCode: time 1.422e-06/0.2729, allocations: 0 / 0.7399 GB, free: 13.75 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04148/0.3144, allocations: 6.667 MB / 0.7464 GB, free: 7.25 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000327/0.3148, allocations: 247 kB / 0.7466 GB, free: 6.969 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.792/3.106, allocations: 0 / 0.7466 GB, free: 6.969 MB / 0.573 GB