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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 188.7 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.456/3.456, allocations: 0.4893 GB / 0.7884 GB, free: 33.11 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 63.94 kB / 1.145 GB, free: 30.74 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4943/0.4964, allocations: 174.9 MB / 1.316 GB, free: 9.688 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.00531/0.5017, allocations: 2.477 MB / 1.318 GB, free: 7.199 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.003208/0.5049, allocations: 1.529 MB / 1.32 GB, free: 5.664 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002517/0.5052, allocations: 11.88 kB / 1.32 GB, free: 5.652 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008271/0.506, allocations: 227.1 kB / 1.32 GB, free: 5.43 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.5064, allocations: 159.2 kB / 1.32 GB, free: 5.273 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.507, allocations: 187.5 kB / 1.32 GB, free: 5.09 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0005186/0.5075, allocations: 354.8 kB / 1.321 GB, free: 4.742 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.5077, allocations: 64.64 kB / 1.321 GB, free: 4.672 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.5079, allocations: 151.3 kB / 1.321 GB, free: 4.523 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.5082, allocations: 167.2 kB / 1.321 GB, free: 4.359 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 5.381e-05/0.5082, allocations: 20 kB / 1.321 GB, free: 4.34 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.5084, allocations: 59.98 kB / 1.321 GB, free: 4.281 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.5086, allocations: 131.5 kB / 1.321 GB, free: 4.152 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.5088, allocations: 194.5 kB / 1.322 GB, free: 3.961 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007927/0.5096, allocations: 0.5015 MB / 1.322 GB, free: 3.457 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.5096, allocations: 0 / 1.322 GB, free: 3.457 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.705e-06/0.5096, allocations: 0 / 1.322 GB, free: 3.457 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.033e-05/0.5096, allocations: 0 / 1.322 GB, free: 3.457 MB / 1.014 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.001824/0.5114, allocations: 0.7484 MB / 1.323 GB, free: 2.676 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.5115, allocations: 8.031 kB / 1.323 GB, free: 2.668 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.5116, allocations: 64.55 kB / 1.323 GB, free: 2.605 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007038/0.5123, allocations: 370.5 kB / 1.323 GB, free: 2.215 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.5124, allocations: 16.38 kB / 1.323 GB, free: 2.199 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.5124, allocations: 19.89 kB / 1.323 GB, free: 2.18 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.5128, allocations: 135 kB / 1.323 GB, free: 2.043 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.5128, allocations: 3.984 kB / 1.323 GB, free: 2.039 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.5128, allocations: 4 kB / 1.323 GB, free: 2.035 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.5129, allocations: 4 kB / 1.323 GB, free: 2.031 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.5131, allocations: 87.89 kB / 1.323 GB, free: 1.945 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.5144, allocations: 0.597 MB / 1.324 GB, free: 1.305 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.5148, allocations: 134.6 kB / 1.324 GB, free: 1.164 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.515, allocations: 40.84 kB / 1.324 GB, free: 1.121 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.515, allocations: 8 kB / 1.324 GB, free: 1.113 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.5153, allocations: 99.36 kB / 1.324 GB, free: 1.004 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.5153, allocations: 3.938 kB / 1.324 GB, free: 1 MB / 1.014 GB
Notification: Performance of matching and sorting (n=12): time 0.0005786/0.5159, allocations: 213.5 kB / 1.325 GB, free: 0.7852 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.767e-05/0.516, allocations: 55.41 kB / 1.325 GB, free: 0.7188 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000878/0.5168, allocations: 0.6476 MB / 1.325 GB, free: 60 kB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.5169, allocations: 33.7 kB / 1.325 GB, free: 20 kB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.5172, allocations: 264.4 kB / 1.326 GB, free: 15.76 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.5172, allocations: 39.72 kB / 1.326 GB, free: 15.72 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.5173, allocations: 53.7 kB / 1.326 GB, free: 15.66 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0002546/0.5176, allocations: 366.8 kB / 1.326 GB, free: 15.29 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.5178, allocations: 75.97 kB / 1.326 GB, free: 15.22 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.518, allocations: 117.4 kB / 1.326 GB, free: 15.09 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.5182, allocations: 141.4 kB / 1.326 GB, free: 14.95 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5182, allocations: 0 / 1.326 GB, free: 14.95 MB / 1.029 GB
Notification: Performance of matching and sorting (n=25) (initialization): time 0.000474/0.5187, allocations: 269.1 kB / 1.327 GB, free: 14.68 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.5187, allocations: 8 kB / 1.327 GB, free: 14.68 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5187, allocations: 0 / 1.327 GB, free: 14.68 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.5187, allocations: 0 / 1.327 GB, free: 14.68 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.5189, allocations: 39.92 kB / 1.327 GB, free: 14.64 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.519, allocations: 4 kB / 1.327 GB, free: 14.63 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.5191, allocations: 31.95 kB / 1.327 GB, free: 14.6 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.5192, allocations: 4 kB / 1.327 GB, free: 14.6 MB / 1.029 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.0002814/0.5195, allocations: 218.1 kB / 1.327 GB, free: 14.38 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-05/0.5195, allocations: 59.61 kB / 1.327 GB, free: 14.32 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000419/0.52, allocations: 186.3 kB / 1.327 GB, free: 14.12 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.52, allocations: 0 / 1.327 GB, free: 14.12 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.52, allocations: 4 kB / 1.327 GB, free: 14.12 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.52, allocations: 4 kB / 1.327 GB, free: 14.12 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.5204, allocations: 352.3 kB / 1.327 GB, free: 13.73 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5204, allocations: 0 / 1.327 GB, free: 13.73 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.997e-05/0.5205, allocations: 11.94 kB / 1.327 GB, free: 13.72 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5205, allocations: 0 / 1.327 GB, free: 13.72 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.5205, allocations: 11.98 kB / 1.327 GB, free: 13.71 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5205, allocations: 0 / 1.327 GB, free: 13.71 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5205, allocations: 0 / 1.327 GB, free: 13.71 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004786/0.521, allocations: 256.6 kB / 1.328 GB, free: 13.44 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.5211, allocations: 55.64 kB / 1.328 GB, free: 13.38 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.5211, allocations: 8 kB / 1.328 GB, free: 13.38 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.5213, allocations: 11.98 kB / 1.328 GB, free: 13.36 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.751e-05/0.5213, allocations: 23.95 kB / 1.328 GB, free: 13.34 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.5214, allocations: 7.984 kB / 1.328 GB, free: 13.33 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0005312/0.5219, allocations: 434.7 kB / 1.328 GB, free: 12.91 MB / 1.029 GB
Notification: Performance of sort global known variables: time 1e-07/0.5219, allocations: 0 / 1.328 GB, free: 12.91 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0003293/0.5222, allocations: 67.88 kB / 1.328 GB, free: 12.84 MB / 1.029 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 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled)
 * 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.001838/0.5241, allocations: 425 kB / 1.329 GB, free: 12.58 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0004324/0.5245, allocations: 143.9 kB / 1.329 GB, free: 12.44 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5245, allocations: 3.938 kB / 1.329 GB, free: 12.43 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.5246, allocations: 55.91 kB / 1.329 GB, free: 12.38 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.5251, allocations: 82.86 kB / 1.329 GB, free: 12.31 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.5268, allocations: 0.8488 MB / 1.33 GB, free: 11.43 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.5273, allocations: 0.8572 MB / 1.331 GB, free: 10.54 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0001386/0.5275, allocations: 34.28 kB / 1.331 GB, free: 10.51 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.61e-05/0.5276, allocations: 31.36 kB / 1.331 GB, free: 10.48 MB / 1.029 GB
Notification: Performance of SimCode: time 3.81e-07/0.5276, allocations: 0 / 1.331 GB, free: 10.48 MB / 1.029 GB
Notification: Performance of Templates: time 0.01085/0.5384, allocations: 4.134 MB / 1.335 GB, free: 6.383 MB / 1.029 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300]
(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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 800]
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) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 10.420868604443967]