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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009357/0.009357, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001769/0.001769, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001165, allocations: 63.91 kB / 1.054 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9631/0.9643, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003936/0.9683, allocations: 2.429 MB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002474/0.9708, allocations: 1.514 MB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.971, allocations: 4 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006123/0.9716, allocations: 222.8 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.9719, allocations: 159.2 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.9724, allocations: 190.6 kB / 1.212 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005478/0.9729, allocations: 350.8 kB / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.9732, allocations: 92.7 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.9735, allocations: 143.4 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.9737, allocations: 155.2 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.467e-05/0.9737, allocations: 20 kB / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.9738, allocations: 59.98 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.974, allocations: 135.4 kB / 1.213 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.9741, allocations: 190.6 kB / 1.213 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005254/0.9747, allocations: 0.5078 MB / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9747, allocations: 0 / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.735e-06/0.9747, allocations: 4 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.9747, allocations: 0 / 1.214 GB, free: 7.496 MB / 0.9356 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.001119/0.9758, allocations: 0.7967 MB / 1.215 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.9759, allocations: 12.03 kB / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.788e-05/0.976, allocations: 56.28 kB / 1.215 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.9765, allocations: 427.8 kB / 1.215 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.9765, allocations: 12.38 kB / 1.215 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.9765, allocations: 15.94 kB / 1.215 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.9769, allocations: 133.5 kB / 1.215 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.9769, allocations: 0 / 1.215 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.9769, allocations: 4 kB / 1.215 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.9769, allocations: 8 kB / 1.215 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.9771, allocations: 83.95 kB / 1.215 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.9782, allocations: 0.629 MB / 1.216 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.9786, allocations: 142.6 kB / 1.216 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.162e-05/0.9787, allocations: 52.72 kB / 1.216 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.9787, allocations: 0 / 1.216 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.9789, allocations: 107.3 kB / 1.216 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.9789, allocations: 0 / 1.216 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0004527/0.9794, allocations: 225 kB / 1.216 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.9795, allocations: 51.41 kB / 1.216 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006918/0.9801, allocations: 0.6476 MB / 1.217 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.9802, allocations: 33.7 kB / 1.217 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.9804, allocations: 260.3 kB / 1.217 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.9804, allocations: 35.55 kB / 1.217 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.445e-05/0.9805, allocations: 49.7 kB / 1.217 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.9807, allocations: 370.8 kB / 1.218 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.9808, allocations: 87.91 kB / 1.218 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.981, allocations: 112.9 kB / 1.218 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.9812, allocations: 127.6 kB / 1.218 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9812, allocations: 0 / 1.218 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004346/0.9817, allocations: 271.1 kB / 1.218 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.9817, allocations: 13.92 kB / 1.218 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.9817, allocations: 3.938 kB / 1.218 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.9817, allocations: 4 kB / 1.218 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.9819, allocations: 31.98 kB / 1.218 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.9819, allocations: 0 / 1.218 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.9821, allocations: 31.81 kB / 1.218 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.9821, allocations: 8 kB / 1.218 GB, free: 2.465 MB / 0.9356 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.000209/0.9823, allocations: 209.7 kB / 1.219 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.793e-05/0.9824, allocations: 55.33 kB / 1.219 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.743e-05/0.9825, allocations: 56.66 kB / 1.219 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.9825, allocations: 0 / 1.219 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.9825, allocations: 0 / 1.219 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.9825, allocations: 4 kB / 1.219 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.9829, allocations: 381.3 kB / 1.219 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.9829, allocations: 3.984 kB / 1.219 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.4e-05/0.983, allocations: 11.94 kB / 1.219 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.983, allocations: 0 / 1.219 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.983, allocations: 8 kB / 1.219 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.983, allocations: 7.922 kB / 1.219 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.983, allocations: 0 / 1.219 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004196/0.9834, allocations: 252.4 kB / 1.219 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.489e-05/0.9835, allocations: 128.4 kB / 1.219 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.9836, allocations: 8 kB / 1.219 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.9837, allocations: 15.98 kB / 1.219 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.9838, allocations: 24.03 kB / 1.22 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.9838, allocations: 7.938 kB / 1.22 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004668/0.9843, allocations: 430.8 kB / 1.22 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9843, allocations: 3.938 kB / 1.22 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002868/0.9846, allocations: 63.89 kB / 1.22 GB, free: 0.7305 MB / 0.9356 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.0009574/0.9856, allocations: 415.2 kB / 1.22 GB, free: 484 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003109/0.9859, allocations: 159.8 kB / 1.221 GB, free: 324 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.9859, allocations: 0 / 1.221 GB, free: 324 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.986, allocations: 55.92 kB / 1.221 GB, free: 268 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.9864, allocations: 82.03 kB / 1.221 GB, free: 188 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.9878, allocations: 0.8372 MB / 1.221 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.9882, allocations: 0.8533 MB / 1.222 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.9883, allocations: 38.27 kB / 1.222 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.415e-05/0.9884, allocations: 31.44 kB / 1.222 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.9884, allocations: 0 / 1.222 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of Templates: time 0.008393/0.9968, allocations: 4.054 MB / 1.226 GB, free: 10.36 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (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 & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/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