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.001714/0.001715, allocations: 113.2 kB / 16.42 MB, free: 6.469 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.002192/0.002192, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.629/2.629, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 71.89 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9344/0.9361, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004663/0.9408, allocations: 2.432 MB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002826/0.9436, allocations: 1.51 MB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003341/0.944, allocations: 4 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007655/0.9448, allocations: 222.8 kB / 1.213 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005516/0.9454, allocations: 159.2 kB / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.946, allocations: 187.5 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005727/0.9466, allocations: 350.8 kB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.9469, allocations: 92.7 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.9472, allocations: 139.4 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.9474, allocations: 155.2 kB / 1.214 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.81e-05/0.9475, allocations: 24 kB / 1.214 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.9477, allocations: 59.97 kB / 1.214 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.9479, allocations: 127.5 kB / 1.214 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.9481, allocations: 190.6 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006674/0.9488, allocations: 0.5078 MB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.9488, allocations: 4 kB / 1.214 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.364e-06/0.9488, allocations: 4 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.031e-05/0.9488, allocations: 0 / 1.214 GB, free: 7.465 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.001503/0.9503, allocations: 0.7967 MB / 1.215 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.9504, allocations: 12.03 kB / 1.215 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.9505, allocations: 56.27 kB / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005925/0.9511, allocations: 423.8 kB / 1.216 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.9512, allocations: 12.38 kB / 1.216 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.9512, allocations: 15.94 kB / 1.216 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.9515, allocations: 137.6 kB / 1.216 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.9515, allocations: 3.938 kB / 1.216 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.9515, allocations: 7.938 kB / 1.216 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.9516, allocations: 4 kB / 1.216 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.9517, allocations: 83.95 kB / 1.216 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009994/0.9527, allocations: 0.6329 MB / 1.217 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.9531, allocations: 134.6 kB / 1.217 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.422e-05/0.9532, allocations: 48.84 kB / 1.217 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.9533, allocations: 11.92 kB / 1.217 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.9535, allocations: 99.36 kB / 1.217 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.9535, allocations: 0 / 1.217 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0004381/0.9539, allocations: 217.1 kB / 1.217 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.954, allocations: 59.34 kB / 1.217 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006821/0.9547, allocations: 0.6437 MB / 1.218 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.9547, allocations: 33.7 kB / 1.218 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.9549, allocations: 260.3 kB / 1.218 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.955, allocations: 39.55 kB / 1.218 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.951e-05/0.9551, allocations: 53.69 kB / 1.218 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.9552, allocations: 366.8 kB / 1.218 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.9554, allocations: 79.91 kB / 1.219 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.9555, allocations: 120.3 kB / 1.219 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.9558, allocations: 128.1 kB / 1.219 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.9558, allocations: 7.938 kB / 1.219 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003964/0.9562, allocations: 262.7 kB / 1.219 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.9562, allocations: 4 kB / 1.219 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.9562, allocations: 0 / 1.219 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.9562, allocations: 4 kB / 1.219 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.9564, allocations: 47.97 kB / 1.219 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.9564, allocations: 4 kB / 1.219 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.9566, allocations: 23.83 kB / 1.219 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.9566, allocations: 8 kB / 1.219 GB, free: 2.434 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.0002142/0.9569, allocations: 209.7 kB / 1.219 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/0.9569, allocations: 51.34 kB / 1.219 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.957, allocations: 60.66 kB / 1.219 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.957, allocations: 4 kB / 1.219 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.957, allocations: 0 / 1.219 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.535e-05/0.9571, allocations: 124.4 kB / 1.22 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/0.9572, allocations: 11.98 kB / 1.22 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.9573, allocations: 15.98 kB / 1.22 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.9574, allocations: 23.91 kB / 1.22 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003748/0.9578, allocations: 232.8 kB / 1.22 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004722/0.9583, allocations: 409.9 kB / 1.22 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.984e-05/0.9584, allocations: 51.95 kB / 1.22 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004424/0.9588, allocations: 430.8 kB / 1.221 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of Backend: time 6.11e-07/0.9588, allocations: 0 / 1.221 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.9603, allocations: 0.5168 MB / 1.221 GB, free: 436 kB / 0.9356 GB Notification: Performance of SimCode: time 0.001531/0.9619, allocations: 1.311 MB / 1.222 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of Templates: time 0.009477/0.9714, allocations: 4.25 MB / 1.227 GB, free: 10.85 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/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