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: 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_10_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_10_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.001279/0.001279, allocations: 109.8 kB / 16.42 MB, free: 6.461 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.001469/0.00147, allocations: 190.7 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.1 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.525/2.525, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.001491, allocations: 71.89 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8905/0.892, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004758/0.8968, allocations: 2.443 MB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002779/0.8996, allocations: 1.51 MB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003519/0.9, allocations: 7.938 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008483/0.9009, allocations: 226.6 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005887/0.9015, allocations: 155.2 kB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006152/0.9022, allocations: 188.3 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005488/0.9027, allocations: 346.8 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.903, allocations: 92.7 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.9032, allocations: 139.4 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.9035, allocations: 159.2 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.536e-05/0.9036, allocations: 24 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.9038, allocations: 67.97 kB / 1.173 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.9039, allocations: 127.5 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.9041, allocations: 186.6 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006273/0.9048, allocations: 0.5078 MB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9048, allocations: 0 / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9048, allocations: 0 / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.9048, allocations: 0 / 1.173 GB, free: 13.66 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.001381/0.9062, allocations: 0.8006 MB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.9062, allocations: 8.922 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.9064, allocations: 56.28 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000588/0.907, allocations: 427.8 kB / 1.175 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.907, allocations: 12.38 kB / 1.175 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.169e-05/0.907, allocations: 15.94 kB / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.9073, allocations: 137.5 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.9074, allocations: 4 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.9074, allocations: 4 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.9074, allocations: 4 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.9076, allocations: 83.95 kB / 1.175 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.9089, allocations: 0.629 MB / 1.175 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/0.9094, allocations: 142.6 kB / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.9095, allocations: 48.78 kB / 1.176 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.9095, allocations: 3.938 kB / 1.176 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/0.9098, allocations: 103.4 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=12): time 2.214e-06/0.9098, allocations: 4 kB / 1.176 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12): time 0.0005507/0.9104, allocations: 220.8 kB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.9104, allocations: 51.41 kB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008639/0.9113, allocations: 0.6437 MB / 1.177 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.9113, allocations: 33.7 kB / 1.177 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.9116, allocations: 264.3 kB / 1.177 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.9117, allocations: 35.55 kB / 1.177 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.9118, allocations: 53.69 kB / 1.177 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.912, allocations: 370.8 kB / 1.177 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.9122, allocations: 79.97 kB / 1.177 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.9124, allocations: 111.4 kB / 1.178 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.9127, allocations: 131.7 kB / 1.178 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.9127, allocations: 3.938 kB / 1.178 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004824/0.9132, allocations: 279.5 kB / 1.178 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.9132, allocations: 4 kB / 1.178 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.9132, allocations: 0 / 1.178 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.9132, allocations: 4 kB / 1.178 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.9134, allocations: 31.98 kB / 1.178 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.9134, allocations: 3.984 kB / 1.178 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.9136, allocations: 27.83 kB / 1.178 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.9137, allocations: 8 kB / 1.178 GB, free: 8.633 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.0002613/0.9139, allocations: 213.7 kB / 1.178 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-05/0.914, allocations: 51.34 kB / 1.178 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.9141, allocations: 56.66 kB / 1.178 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.9142, allocations: 0 / 1.178 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.9142, allocations: 0 / 1.178 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.9143, allocations: 128.4 kB / 1.178 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.9144, allocations: 4 kB / 1.178 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.9145, allocations: 19.98 kB / 1.178 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.9146, allocations: 27.91 kB / 1.178 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004081/0.915, allocations: 228.8 kB / 1.179 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005244/0.9156, allocations: 408 kB / 1.179 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001284/0.9157, allocations: 56.05 kB / 1.179 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005107/0.9162, allocations: 434.8 kB / 1.18 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of Backend: time 2.3e-07/0.9162, allocations: 0 / 1.18 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001666/0.9179, allocations: 0.5137 MB / 1.18 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001873/0.9198, allocations: 1.311 MB / 1.181 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of Templates: time 0.009917/0.9297, allocations: 4.161 MB / 1.185 GB, free: 1.148 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (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 & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/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