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.AssertPower.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.AssertPower,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",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.01455/0.01455, allocations: 90.02 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.001728/0.001728, allocations: 171.2 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.367/2.367, allocations: 205.5 MB / 222.2 MB, free: 13.73 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.471/2.471, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005005/0.0005009, allocations: 12.22 kB / 0.6243 GB, free: 21.15 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.242, allocations: 106.2 MB / 0.7281 GB, free: 8.129 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003682/0.2457, allocations: 1.958 MB / 0.73 GB, free: 6.152 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.00277/0.2485, allocations: 1.125 MB / 0.7311 GB, free: 5.02 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.2488, allocations: 7.938 kB / 0.7311 GB, free: 5.012 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.0007545/0.2495, allocations: 199.3 kB / 0.7313 GB, free: 4.816 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.0004872/0.25, allocations: 143.5 kB / 0.7314 GB, free: 4.676 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004935/0.2505, allocations: 103.8 kB / 0.7315 GB, free: 4.574 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.251, allocations: 207.5 kB / 0.7317 GB, free: 4.371 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00025/0.2512, allocations: 56.91 kB / 0.7318 GB, free: 4.316 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.2515, allocations: 119.5 kB / 0.7319 GB, free: 4.199 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.2517, allocations: 119.4 kB / 0.732 GB, free: 4.082 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.2518, allocations: 4 kB / 0.732 GB, free: 4.078 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.252, allocations: 27.98 kB / 0.732 GB, free: 4.051 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.2521, allocations: 107.6 kB / 0.7321 GB, free: 3.945 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.2522, allocations: 93.39 kB / 0.7322 GB, free: 3.848 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0005497/0.2528, allocations: 363.3 kB / 0.7326 GB, free: 3.492 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2528, allocations: 0 / 0.7326 GB, free: 3.492 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2528, allocations: 0 / 0.7326 GB, free: 3.492 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.2528, allocations: 0 / 0.7326 GB, free: 3.492 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001458/0.2543, allocations: 0.7115 MB / 0.7333 GB, free: 2.73 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.2544, allocations: 8.031 kB / 0.7333 GB, free: 2.723 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.62e-05/0.2545, allocations: 50.45 kB / 0.7333 GB, free: 2.664 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.2546, allocations: 59.33 kB / 0.7334 GB, free: 2.605 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007024/0.2553, allocations: 379.1 kB / 0.7337 GB, free: 2.195 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.2554, allocations: 12 kB / 0.7337 GB, free: 2.184 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.484e-05/0.2554, allocations: 15.91 kB / 0.7338 GB, free: 2.168 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.2558, allocations: 128 kB / 0.7339 GB, free: 2.039 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2558, allocations: 0 / 0.7339 GB, free: 2.039 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.2559, allocations: 0 / 0.7339 GB, free: 2.039 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.2559, allocations: 7.953 kB / 0.7339 GB, free: 2.031 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.2562, allocations: 83.89 kB / 0.734 GB, free: 1.949 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.2577, allocations: 0.6212 MB / 0.7346 GB, free: 1.277 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005404/0.2583, allocations: 122.6 kB / 0.7347 GB, free: 1.148 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.2583, allocations: 7.938 kB / 0.7347 GB, free: 1.141 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003235/0.2586, allocations: 103.4 kB / 0.7348 GB, free: 1.027 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=12): time 2.495e-06/0.2587, allocations: 0 / 0.7348 GB, free: 1.027 MB / 0.5574 GB Notification: Performance of matching and sorting (n=12): time 0.0006715/0.2593, allocations: 197.1 kB / 0.735 GB, free: 0.8281 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.2594, allocations: 55.41 kB / 0.735 GB, free: 0.7617 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.2605, allocations: 0.6279 MB / 0.7357 GB, free: 128 kB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.2605, allocations: 33.64 kB / 0.7357 GB, free: 88 kB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.2609, allocations: 248.3 kB / 0.7359 GB, free: 15.84 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/0.2609, allocations: 35.55 kB / 0.736 GB, free: 15.8 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.009e-05/0.261, allocations: 8 kB / 0.736 GB, free: 15.8 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.2612, allocations: 370.7 kB / 0.7363 GB, free: 15.43 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.2614, allocations: 79.97 kB / 0.7364 GB, free: 15.35 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.2617, allocations: 103.4 kB / 0.7365 GB, free: 15.23 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.262, allocations: 71.98 kB / 0.7366 GB, free: 15.16 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.262, allocations: 0 / 0.7366 GB, free: 15.16 MB / 0.573 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006678/0.2627, allocations: 270.4 kB / 0.7368 GB, free: 14.89 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.2627, allocations: 8 kB / 0.7368 GB, free: 14.89 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.2627, allocations: 0 / 0.7368 GB, free: 14.89 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2628, allocations: 0 / 0.7368 GB, free: 14.89 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.263, allocations: 35.92 kB / 0.7369 GB, free: 14.85 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.263, allocations: 0 / 0.7369 GB, free: 14.85 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.2634, allocations: 27.95 kB / 0.7369 GB, free: 14.82 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.2635, allocations: 12 kB / 0.7369 GB, free: 14.81 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0003386/0.2638, allocations: 202.8 kB / 0.7371 GB, free: 14.61 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.051e-05/0.2639, allocations: 51.34 kB / 0.7371 GB, free: 14.55 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.2641, allocations: 52.5 kB / 0.7372 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2641, allocations: 4 kB / 0.7372 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2641, allocations: 0 / 0.7372 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2641, allocations: 3.938 kB / 0.7372 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.2646, allocations: 373.3 kB / 0.7376 GB, free: 14.08 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.2646, allocations: 4 kB / 0.7376 GB, free: 14.08 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.2648, allocations: 11.94 kB / 0.7376 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.2648, allocations: 0 / 0.7376 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.2648, allocations: 8 kB / 0.7376 GB, free: 14.06 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.2648, allocations: 7.984 kB / 0.7376 GB, free: 14.05 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.2649, allocations: 0 / 0.7376 GB, free: 14.05 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008281/0.2657, allocations: 240.3 kB / 0.7378 GB, free: 13.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.2659, allocations: 136.5 kB / 0.7379 GB, free: 13.64 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.859e-05/0.266, allocations: 0 / 0.7379 GB, free: 13.64 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.2662, allocations: 19.98 kB / 0.738 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.2663, allocations: 23.95 kB / 0.738 GB, free: 13.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.2664, allocations: 7.938 kB / 0.738 GB, free: 13.59 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007741/0.2671, allocations: 414.8 kB / 0.7384 GB, free: 13.19 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2672, allocations: 0 / 0.7384 GB, free: 13.19 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004416/0.2676, allocations: 51.91 kB / 0.7384 GB, free: 13.14 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.002187/0.2698, allocations: 1.111 MB / 0.7395 GB, free: 12.14 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005441/0.2704, allocations: 151.9 kB / 0.7397 GB, free: 11.99 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2704, allocations: 0 / 0.7397 GB, free: 11.99 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.2706, allocations: 51.92 kB / 0.7397 GB, free: 11.94 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.2712, allocations: 62.2 kB / 0.7398 GB, free: 11.88 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.2736, allocations: 1.349 MB / 0.7411 GB, free: 10.48 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.2742, allocations: 0.8584 MB / 0.7419 GB, free: 9.594 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002034/0.2745, allocations: 38.28 kB / 0.742 GB, free: 9.555 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002969/0.2748, allocations: 147.3 kB / 0.7421 GB, free: 9.41 MB / 0.573 GB Notification: Performance of SimCode: time 1.432e-06/0.2748, allocations: 4 kB / 0.7421 GB, free: 9.406 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0378/0.3126, allocations: 8.183 MB / 0.7501 GB, free: 1.398 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003004/0.313, allocations: 233.9 kB / 0.7503 GB, free: 1.156 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.89/3.203, allocations: 0 / 0.7503 GB, free: 1.156 MB / 0.573 GB