Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_latest_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.001509/0.001509, allocations: 108 kB / 15.61 MB, free: 152 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.001731/0.001731, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.714/2.714, allocations: 469.4 MB / 0.742 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002534/0.002534, allocations: 70.28 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3398, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004066/0.3439, allocations: 2.426 MB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002373/0.3463, allocations: 1.506 MB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.3466, allocations: 4 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000701/0.3473, allocations: 235.3 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004632/0.3478, allocations: 151.2 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005181/0.3483, allocations: 189.4 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004592/0.3488, allocations: 342.9 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/0.349, allocations: 94.38 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.3493, allocations: 139.4 kB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.3495, allocations: 151.2 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.328e-05/0.3496, allocations: 24 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.3497, allocations: 71.95 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.3499, allocations: 119.5 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.3501, allocations: 190.6 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005293/0.3506, allocations: 0.4904 MB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3506, allocations: 4 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3506, allocations: 0 / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.3506, allocations: 0 / 1.07 GB, free: 8.406 MB / 0.8262 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.001347/0.352, allocations: 0.8006 MB / 1.07 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.352, allocations: 8.031 kB / 1.07 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.021e-05/0.3521, allocations: 50.67 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.3522, allocations: 56.28 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005751/0.3528, allocations: 435.8 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.3529, allocations: 12.12 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.3529, allocations: 15.94 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.3532, allocations: 133.6 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.3532, allocations: 0 / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.3532, allocations: 8 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3532, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.3534, allocations: 87.89 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.3545, allocations: 0.6446 MB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.3549, allocations: 134.7 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.855e-05/0.355, allocations: 44.84 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.355, allocations: 0 / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.3552, allocations: 115.2 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.3552, allocations: 0 / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0004343/0.3557, allocations: 205.3 kB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.3557, allocations: 51.41 kB / 1.072 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006871/0.3564, allocations: 0.6514 MB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.3564, allocations: 33.7 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.3566, allocations: 256.3 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.3567, allocations: 39.53 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.277e-05/0.3568, allocations: 53.7 kB / 1.073 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3569, allocations: 374.7 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.3571, allocations: 79.97 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.3572, allocations: 121 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.3575, allocations: 124.5 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3575, allocations: 4.031 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004232/0.3579, allocations: 276.8 kB / 1.074 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3579, allocations: 5.094 kB / 1.074 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.358, allocations: 0 / 1.074 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.358, allocations: 4 kB / 1.074 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.3582, allocations: 31.98 kB / 1.074 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3582, allocations: 0 / 1.074 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.3584, allocations: 31.81 kB / 1.074 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.3584, allocations: 19.97 kB / 1.074 GB, free: 3.305 MB / 0.8262 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.0002037/0.3586, allocations: 210.2 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.185e-05/0.3587, allocations: 55.33 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.3588, allocations: 56.66 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3588, allocations: 0 / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3588, allocations: 0 / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3588, allocations: 4 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.3591, allocations: 377.2 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3592, allocations: 4 kB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.3592, allocations: 11.94 kB / 1.075 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3592, allocations: 0 / 1.075 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.3593, allocations: 7.984 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3593, allocations: 0 / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3593, allocations: 0 / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.3597, allocations: 264.3 kB / 1.075 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.513e-05/0.3598, allocations: 128.5 kB / 1.075 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.3599, allocations: 8.062 kB / 1.075 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.36, allocations: 15.98 kB / 1.075 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/0.3601, allocations: 19.97 kB / 1.075 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.3601, allocations: 4 kB / 1.075 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004469/0.3606, allocations: 430.8 kB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3606, allocations: 0 / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002986/0.3609, allocations: 63.92 kB / 1.076 GB, free: 1.586 MB / 0.8262 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.3624, allocations: 1.111 MB / 1.077 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003523/0.3628, allocations: 175.6 kB / 1.077 GB, free: 444 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3628, allocations: 0 / 1.077 GB, free: 444 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.3629, allocations: 51.98 kB / 1.077 GB, free: 392 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.3633, allocations: 81.75 kB / 1.077 GB, free: 316 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004605/0.368, allocations: 3.888 MB / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.3684, allocations: 0.8611 MB / 1.082 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001307/0.3686, allocations: 38.27 kB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.3688, allocations: 155.4 kB / 1.082 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of SimCode: time 7.91e-07/0.3688, allocations: 0 / 1.082 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.398, allocations: 9.077 MB / 1.091 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/8.035, allocations: 12.75 kB / 1.091 GB, free: 2.281 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches