Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 193.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.339/2.339, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 71.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5486/0.55, allocations: 140.4 MB / 0.9497 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003169/0.5532, allocations: 2.416 MB / 0.9521 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.5552, allocations: 1.513 MB / 0.9536 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.5553, allocations: 7.844 kB / 0.9536 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005991/0.5559, allocations: 233.9 kB / 0.9538 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.5563, allocations: 152.2 kB / 0.9539 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.5568, allocations: 188.6 kB / 0.9541 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003451/0.5571, allocations: 344.5 kB / 0.9544 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.5573, allocations: 94.09 kB / 0.9545 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.5575, allocations: 140.3 kB / 0.9547 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.5577, allocations: 154.7 kB / 0.9548 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.507e-05/0.5577, allocations: 22.16 kB / 0.9548 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.5579, allocations: 60.14 kB / 0.9549 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.558, allocations: 131.5 kB / 0.955 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.5582, allocations: 192.8 kB / 0.9552 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.5586, allocations: 0.4933 MB / 0.9557 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5587, allocations: 0 / 0.9557 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5587, allocations: 0 / 0.9557 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.5587, allocations: 1.125 kB / 0.9557 GB, free: 4.59 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001009/0.5597, allocations: 0.7991 MB / 0.9565 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.5597, allocations: 13.12 kB / 0.9565 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.5598, allocations: 47.11 kB / 0.9565 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.398e-05/0.5599, allocations: 63.19 kB / 0.9566 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.5603, allocations: 410.2 kB / 0.957 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.5603, allocations: 13.5 kB / 0.957 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.5603, allocations: 13 kB / 0.957 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.5606, allocations: 148.9 kB / 0.9571 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.5606, allocations: 1.375 kB / 0.9571 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.5606, allocations: 5.375 kB / 0.9571 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.5606, allocations: 6.75 kB / 0.9572 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.5608, allocations: 82.58 kB / 0.9572 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008391/0.5617, allocations: 0.6453 MB / 0.9579 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.5621, allocations: 136.3 kB / 0.958 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.076e-05/0.5622, allocations: 53.78 kB / 0.958 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.5622, allocations: 5.281 kB / 0.958 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.5624, allocations: 105.4 kB / 0.9581 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.5624, allocations: 0 / 0.9581 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0004152/0.5628, allocations: 213.2 kB / 0.9584 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.5628, allocations: 52.91 kB / 0.9584 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006244/0.5635, allocations: 0.6425 MB / 0.959 GB, free: 2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.5635, allocations: 35.75 kB / 0.9591 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.5637, allocations: 263.6 kB / 0.9593 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.5637, allocations: 36.8 kB / 0.9593 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.773e-05/0.5638, allocations: 55.06 kB / 0.9594 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.478e-05/0.5639, allocations: 371.2 kB / 0.9598 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.564, allocations: 75.19 kB / 0.9598 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.5642, allocations: 114.5 kB / 0.9599 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.5644, allocations: 135.4 kB / 0.9601 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.5644, allocations: 0 / 0.9601 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003767/0.5648, allocations: 271.9 kB / 0.9603 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.5648, allocations: 5.219 kB / 0.9603 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5648, allocations: 0 / 0.9603 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.5648, allocations: 2.312 kB / 0.9603 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.565, allocations: 41.34 kB / 0.9604 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.565, allocations: 5.281 kB / 0.9604 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.5652, allocations: 20.39 kB / 0.9604 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.5652, allocations: 9.438 kB / 0.9604 GB, free: 0.957 MB / 0.7169 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 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.5654, allocations: 213.6 kB / 0.9606 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/0.5655, allocations: 55.09 kB / 0.9607 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.616e-05/0.5656, allocations: 55.09 kB / 0.9607 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5656, allocations: 1.938 kB / 0.9607 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5656, allocations: 9.062 kB / 0.9607 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5656, allocations: 0 / 0.9607 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.5659, allocations: 371.5 kB / 0.9611 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5659, allocations: 0.8125 kB / 0.9611 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-05/0.566, allocations: 19.14 kB / 0.9611 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.566, allocations: 5.094 kB / 0.9611 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.566, allocations: 1.125 kB / 0.9611 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.566, allocations: 1.125 kB / 0.9611 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.566, allocations: 1.156 kB / 0.9611 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.5664, allocations: 260.7 kB / 0.9614 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.061e-05/0.5665, allocations: 124.6 kB / 0.9615 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.5665, allocations: 10.73 kB / 0.9615 GB, free: 68 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.5667, allocations: 15.3 kB / 0.9615 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.5667, allocations: 21.12 kB / 0.9615 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.5668, allocations: 12.78 kB / 0.9615 GB, free: 40 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004576/0.5672, allocations: 428.1 kB / 0.9619 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5672, allocations: 64 / 0.9619 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002995/0.5675, allocations: 68.53 kB / 0.962 GB, free: 15.79 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001522/0.5691, allocations: 1.112 MB / 0.9631 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003499/0.5694, allocations: 169.1 kB / 0.9633 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5694, allocations: 0 / 0.9633 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.5696, allocations: 57.84 kB / 0.9633 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.57, allocations: 70.67 kB / 0.9634 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/0.5745, allocations: 3.883 MB / 0.9672 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.5749, allocations: 0.8616 MB / 0.968 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001363/0.5751, allocations: 42.39 kB / 0.968 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.5753, allocations: 165 kB / 0.9682 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.5753, allocations: 0 / 0.9682 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.6033, allocations: 9.069 MB / 0.9771 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.389/7.992, allocations: 15.52 kB / 0.9771 GB, free: 5.652 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.csv --start-time 0 --stop-time 1800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches