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.AssertFuelFlow.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.AssertFuelFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",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.01021/0.01021, allocations: 88.19 kB / 15.04 MB, free: 6.051 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.001371/0.001371, allocations: 171.7 kB / 15.92 MB, free: 5.992 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.585/2.585, 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.725/2.725, allocations: 252.8 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004966, allocations: 17.03 kB / 0.6243 GB, free: 28.43 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2376, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003551/0.2412, allocations: 1.864 MB / 0.7299 GB, free: 8.281 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002735/0.244, allocations: 1.094 MB / 0.731 GB, free: 7.18 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.2442, allocations: 4 kB / 0.731 GB, free: 7.176 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007279/0.245, allocations: 175.3 kB / 0.7311 GB, free: 7.004 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000444/0.2454, allocations: 115.6 kB / 0.7312 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.2459, allocations: 91.78 kB / 0.7313 GB, free: 6.801 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004105/0.2463, allocations: 163.6 kB / 0.7315 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.2465, allocations: 44.38 kB / 0.7315 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.2467, allocations: 99.55 kB / 0.7316 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.2469, allocations: 87.61 kB / 0.7317 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.247, allocations: 7.938 kB / 0.7317 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.2471, allocations: 23.94 kB / 0.7317 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.2473, allocations: 91.7 kB / 0.7318 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.246e-05/0.2474, allocations: 77.45 kB / 0.7319 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004654/0.2479, allocations: 283.6 kB / 0.7322 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2479, allocations: 0 / 0.7322 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2479, allocations: 0 / 0.7322 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.248, allocations: 0 / 0.7322 GB, free: 5.934 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001228/0.2492, allocations: 0.6531 MB / 0.7328 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.2493, allocations: 12.03 kB / 0.7328 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.777e-05/0.2493, allocations: 38.56 kB / 0.7329 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.358e-05/0.2494, allocations: 43.44 kB / 0.7329 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007561/0.2502, allocations: 379.1 kB / 0.7333 GB, free: 4.719 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.2502, allocations: 7.984 kB / 0.7333 GB, free: 4.711 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.2503, allocations: 8 kB / 0.7333 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.2506, allocations: 93.58 kB / 0.7334 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2506, allocations: 0 / 0.7334 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.2507, allocations: 7.953 kB / 0.7334 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.2507, allocations: 4 kB / 0.7334 GB, free: 4.594 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.2509, allocations: 51.97 kB / 0.7334 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.252, allocations: 0.4925 MB / 0.7339 GB, free: 4 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005221/0.2526, allocations: 106.7 kB / 0.734 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.2526, allocations: 4 kB / 0.734 GB, free: 3.883 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003022/0.2529, allocations: 83.31 kB / 0.7341 GB, free: 3.789 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 2.905e-06/0.2529, allocations: 0 / 0.7341 GB, free: 3.789 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.0005944/0.2536, allocations: 181 kB / 0.7343 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.2536, allocations: 51.41 kB / 0.7343 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008918/0.2545, allocations: 498.8 kB / 0.7348 GB, free: 3.047 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/0.2546, allocations: 25.7 kB / 0.7348 GB, free: 3.016 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.2548, allocations: 224.2 kB / 0.735 GB, free: 2.793 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.2549, allocations: 27.61 kB / 0.735 GB, free: 2.766 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.2549, allocations: 8 kB / 0.7351 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.2551, allocations: 358.8 kB / 0.7354 GB, free: 2.398 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.2553, allocations: 52.3 kB / 0.7354 GB, free: 2.348 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.2555, allocations: 79.25 kB / 0.7355 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.2557, allocations: 51.98 kB / 0.7356 GB, free: 2.211 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2558, allocations: 0 / 0.7356 GB, free: 2.211 MB / 0.5573 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005747/0.2564, allocations: 201 kB / 0.7358 GB, free: 2.008 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.2564, allocations: 4 kB / 0.7358 GB, free: 2.004 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2564, allocations: 8.062 kB / 0.7358 GB, free: 1.996 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.2564, allocations: 0 / 0.7358 GB, free: 1.996 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.2567, allocations: 39.92 kB / 0.7358 GB, free: 1.957 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.2567, allocations: 3.984 kB / 0.7358 GB, free: 1.953 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.257, allocations: 15.94 kB / 0.7358 GB, free: 1.938 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.257, allocations: 8 kB / 0.7358 GB, free: 1.93 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.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0002965/0.2573, allocations: 189.7 kB / 0.736 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-05/0.2574, allocations: 51.38 kB / 0.7361 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.2575, allocations: 47.83 kB / 0.7361 GB, free: 1.637 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2576, allocations: 0 / 0.7361 GB, free: 1.637 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2576, allocations: 0 / 0.7361 GB, free: 1.637 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2576, allocations: 0 / 0.7361 GB, free: 1.637 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.258, allocations: 313.4 kB / 0.7364 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.258, allocations: 4 kB / 0.7364 GB, free: 1.277 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.2582, allocations: 4 kB / 0.7364 GB, free: 1.273 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.2582, allocations: 7.984 kB / 0.7364 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.2582, allocations: 4 kB / 0.7364 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2582, allocations: 0 / 0.7364 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2582, allocations: 4 kB / 0.7364 GB, free: 1.258 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005622/0.2588, allocations: 208.8 kB / 0.7366 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.259, allocations: 120.5 kB / 0.7368 GB, free: 0.8984 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.043e-05/0.259, allocations: 4 kB / 0.7368 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.2592, allocations: 8 kB / 0.7368 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.2593, allocations: 11.97 kB / 0.7368 GB, free: 0.875 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.2593, allocations: 12.06 kB / 0.7368 GB, free: 0.8633 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005775/0.2599, allocations: 346.8 kB / 0.7371 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2599, allocations: 0 / 0.7371 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003955/0.2603, allocations: 39.94 kB / 0.7372 GB, free: 500 kB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002063/0.2624, allocations: 1.084 MB / 0.7382 GB, free: 15.52 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004522/0.2629, allocations: 99.91 kB / 0.7383 GB, free: 15.42 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.2629, allocations: 4 kB / 0.7383 GB, free: 15.42 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.2631, allocations: 39.92 kB / 0.7384 GB, free: 15.38 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005415/0.2636, allocations: 67.5 kB / 0.7384 GB, free: 15.32 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.2659, allocations: 1.2 MB / 0.7396 GB, free: 14.07 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005617/0.2665, allocations: 0.8262 MB / 0.7404 GB, free: 13.21 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00022/0.2667, allocations: 29.94 kB / 0.7404 GB, free: 13.19 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/0.2671, allocations: 123.4 kB / 0.7405 GB, free: 13.07 MB / 0.573 GB Notification: Performance of SimCode: time 3.056e-06/0.2671, allocations: 0 / 0.7405 GB, free: 13.07 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0404/0.3075, allocations: 6.96 MB / 0.7473 GB, free: 6.277 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000297/0.3079, allocations: 240.5 kB / 0.7476 GB, free: 6.031 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.807/3.115, allocations: 0 / 0.7476 GB, free: 6.031 MB / 0.573 GB