Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_10_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.007799/0.007799, allocations: 102.1 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.467/2.467, allocations: 437 MB / 0.7105 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.89 kB / 1.018 GB, free: 9.828 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7469/0.7482, allocations: 151.6 MB / 1.166 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003693/0.752, allocations: 2.437 MB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002285/0.7543, allocations: 1.506 MB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002287/0.7545, allocations: 4 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006977/0.7552, allocations: 222.9 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004643/0.7557, allocations: 163.2 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005519/0.7563, allocations: 179.5 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000479/0.7568, allocations: 358.8 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.757, allocations: 92.5 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.7573, allocations: 139.4 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.7575, allocations: 163.2 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/0.7575, allocations: 20 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.7577, allocations: 67.97 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.7578, allocations: 131.5 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.758, allocations: 178.7 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005435/0.7586, allocations: 0.5053 MB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.7586, allocations: 0 / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7586, allocations: 7.938 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.7586, allocations: 0 / 1.172 GB, free: 13.55 MB / 0.9044 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.001219/0.7598, allocations: 0.8199 MB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.7599, allocations: 12.62 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.7599, allocations: 42.73 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.76, allocations: 60.52 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/0.7606, allocations: 428.5 kB / 1.173 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.7607, allocations: 16.12 kB / 1.173 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.7607, allocations: 16 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.761, allocations: 137.5 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.761, allocations: 0 / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.7611, allocations: 7.984 kB / 1.174 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.7611, allocations: 4 kB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.7613, allocations: 87.91 kB / 1.174 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.7623, allocations: 0.6407 MB / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.7627, allocations: 138.7 kB / 1.174 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.575e-05/0.7628, allocations: 40.84 kB / 1.175 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.7629, allocations: 0 / 1.175 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.7631, allocations: 107.4 kB / 1.175 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/0.7631, allocations: 0 / 1.175 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12): time 0.0004518/0.7635, allocations: 229 kB / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.7636, allocations: 51.41 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006733/0.7643, allocations: 0.6514 MB / 1.176 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.7643, allocations: 33.7 kB / 1.176 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.7645, allocations: 256.5 kB / 1.176 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.7645, allocations: 43.69 kB / 1.176 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.568e-05/0.7646, allocations: 53.7 kB / 1.176 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.7648, allocations: 370.7 kB / 1.176 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.7649, allocations: 79.97 kB / 1.176 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.7651, allocations: 117.6 kB / 1.176 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.7653, allocations: 131.8 kB / 1.177 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7653, allocations: 4 kB / 1.177 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003991/0.7657, allocations: 275.3 kB / 1.177 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.7657, allocations: 4 kB / 1.177 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.7658, allocations: 0 / 1.177 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.7658, allocations: 4 kB / 1.177 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.766, allocations: 31.98 kB / 1.177 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.766, allocations: 4 kB / 1.177 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.7662, allocations: 35.89 kB / 1.177 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.7662, allocations: 8 kB / 1.177 GB, free: 8.41 MB / 0.9044 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.0001985/0.7664, allocations: 205.7 kB / 1.177 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-05/0.7665, allocations: 51.67 kB / 1.177 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.351e-05/0.7666, allocations: 64.58 kB / 1.177 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.7666, allocations: 0 / 1.177 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.7666, allocations: 4 kB / 1.177 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.7666, allocations: 0 / 1.177 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.7669, allocations: 381.3 kB / 1.178 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7669, allocations: 0 / 1.178 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-05/0.767, allocations: 8 kB / 1.178 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.767, allocations: 4 kB / 1.178 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.7671, allocations: 11.92 kB / 1.178 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7671, allocations: 0 / 1.178 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7671, allocations: 0 / 1.178 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.7675, allocations: 262.3 kB / 1.178 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.7676, allocations: 136.7 kB / 1.178 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.7677, allocations: 4 kB / 1.178 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.7678, allocations: 15.98 kB / 1.178 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.7679, allocations: 19.97 kB / 1.178 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.7679, allocations: 7.984 kB / 1.178 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004252/0.7683, allocations: 434.8 kB / 1.178 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7683, allocations: 0 / 1.178 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002903/0.7686, allocations: 59.89 kB / 1.179 GB, free: 6.684 MB / 0.9044 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.001515/0.7702, allocations: 1.126 MB / 1.18 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003122/0.7705, allocations: 151.9 kB / 1.18 GB, free: 5.539 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.7705, allocations: 0 / 1.18 GB, free: 5.539 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.7706, allocations: 63.97 kB / 1.18 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.771, allocations: 83.44 kB / 1.18 GB, free: 5.402 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.7752, allocations: 3.805 MB / 1.184 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.7756, allocations: 0.8533 MB / 1.184 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.7757, allocations: 38.27 kB / 1.184 GB, free: 0.5781 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.7759, allocations: 159.4 kB / 1.185 GB, free: 432 kB / 0.9044 GB Notification: Performance of SimCode: time 1.542e-06/0.7759, allocations: 4 kB / 1.185 GB, free: 428 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.8028, allocations: 9.229 MB / 1.194 GB, free: 7.316 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/8.873, allocations: 6.391 kB / 1.194 GB, free: 7.312 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches