Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_11_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.004007/0.004007, allocations: 101.7 kB / 15.73 MB, free: 6.449 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.001155/0.001155, allocations: 194.2 kB / 16.68 MB, free: 6.352 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.464/2.464, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 68.08 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2526, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003398/0.2561, allocations: 2.441 MB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.2581, allocations: 1.506 MB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.2582, allocations: 7.938 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005207/0.2587, allocations: 227.1 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.259, allocations: 147.2 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.2594, allocations: 203.3 kB / 1.225 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003609/0.2598, allocations: 338.9 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.2599, allocations: 108.5 kB / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.2601, allocations: 143.3 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.2603, allocations: 143.3 kB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.2603, allocations: 24 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.2605, allocations: 71.97 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.2606, allocations: 127.5 kB / 1.226 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.2608, allocations: 186.7 kB / 1.226 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005058/0.2613, allocations: 0.5093 MB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2613, allocations: 0 / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2613, allocations: 0 / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2613, allocations: 0 / 1.226 GB, free: 8.156 MB / 0.9825 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.001054/0.2624, allocations: 0.8199 MB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.2624, allocations: 11.97 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.421e-05/0.2624, allocations: 46.73 kB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.263e-05/0.2625, allocations: 64.52 kB / 1.227 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004718/0.263, allocations: 432.5 kB / 1.228 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.263, allocations: 16.06 kB / 1.228 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.2631, allocations: 12 kB / 1.228 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.2633, allocations: 138.3 kB / 1.228 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2633, allocations: 0 / 1.228 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.2634, allocations: 11.98 kB / 1.228 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2634, allocations: 0 / 1.228 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.2635, allocations: 79.97 kB / 1.228 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008976/0.2645, allocations: 0.6446 MB / 1.228 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.2648, allocations: 130.7 kB / 1.229 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.515e-05/0.2649, allocations: 44.84 kB / 1.229 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.2649, allocations: 4 kB / 1.229 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.2651, allocations: 107.3 kB / 1.229 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.2651, allocations: 0 / 1.229 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0003945/0.2655, allocations: 213.2 kB / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.2656, allocations: 59.39 kB / 1.229 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006835/0.2663, allocations: 0.6475 MB / 1.23 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.2663, allocations: 33.7 kB / 1.23 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.2665, allocations: 256.5 kB / 1.23 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.2665, allocations: 39.67 kB / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.379e-05/0.2666, allocations: 57.7 kB / 1.23 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2668, allocations: 374.7 kB / 1.23 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.2669, allocations: 75.97 kB / 1.23 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.2671, allocations: 115.3 kB / 1.23 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.2673, allocations: 127.1 kB / 1.231 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2673, allocations: 7.969 kB / 1.231 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003907/0.2677, allocations: 279.3 kB / 1.231 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2678, allocations: 9.719 kB / 1.231 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.2678, allocations: 3.938 kB / 1.231 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.2678, allocations: 0 / 1.231 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.2679, allocations: 35.98 kB / 1.231 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2679, allocations: 3.938 kB / 1.231 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.2681, allocations: 31.86 kB / 1.231 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.2681, allocations: 8.031 kB / 1.231 GB, free: 3.02 MB / 0.9825 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.0001982/0.2683, allocations: 214.2 kB / 1.231 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.2684, allocations: 55.62 kB / 1.231 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.668e-05/0.2685, allocations: 60.64 kB / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.2685, allocations: 0 / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.2685, allocations: 0 / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2685, allocations: 0 / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.2688, allocations: 373.4 kB / 1.232 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2689, allocations: 4 kB / 1.232 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.271e-05/0.2689, allocations: 11.94 kB / 1.232 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2689, allocations: 0 / 1.232 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.269, allocations: 3.984 kB / 1.232 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.269, allocations: 4 kB / 1.232 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.269, allocations: 0 / 1.232 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.2694, allocations: 264.6 kB / 1.232 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.2695, allocations: 132.7 kB / 1.232 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.2695, allocations: 8.062 kB / 1.232 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.2697, allocations: 11.98 kB / 1.232 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.2697, allocations: 23.97 kB / 1.232 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.2697, allocations: 7.984 kB / 1.232 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004501/0.2702, allocations: 426.8 kB / 1.232 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2702, allocations: 3.938 kB / 1.232 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002511/0.2705, allocations: 59.94 kB / 1.233 GB, free: 1.293 MB / 0.9825 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.001916/0.2724, allocations: 1.122 MB / 1.234 GB, free: 304 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002965/0.2727, allocations: 159.8 kB / 1.234 GB, free: 144 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2727, allocations: 0 / 1.234 GB, free: 144 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.2728, allocations: 55.92 kB / 1.234 GB, free: 88 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.2732, allocations: 73.78 kB / 1.234 GB, free: 24 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004155/0.2774, allocations: 3.809 MB / 1.238 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.2778, allocations: 0.8571 MB / 1.238 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.2779, allocations: 54.17 kB / 1.239 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.2781, allocations: 155.4 kB / 1.239 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.2781, allocations: 0 / 1.239 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.265/1.544, allocations: 9.214 MB / 1.248 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.16/17.71, allocations: 4.062 kB / 1.248 GB, free: 1.973 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches