Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.00202/0.00202, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002417/0.002417, allocations: 188.1 kB / 22.23 MB, free: 5.098 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.598/1.598, allocations: 225.6 MB / 251 MB, free: 13.2 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.351/3.351, allocations: 496 MB / 0.7835 GB, free: 33.52 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-maint.12.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.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature")
translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 72.94 kB / 1.138 GB, free: 33.91 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4654/0.4675, allocations: 173.6 MB / 1.307 GB, free: 1.777 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004433/0.4719, allocations: 2.214 MB / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002524/0.4744, allocations: 1.409 MB / 1.311 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.4746, allocations: 0 / 1.311 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.000677/0.4752, allocations: 191.3 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.4756, allocations: 135.3 kB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.476, allocations: 154.8 kB / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0003432/0.4763, allocations: 227.1 kB / 1.312 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.4765, allocations: 24.58 kB / 1.312 GB, free: 13.42 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.4767, allocations: 111.5 kB / 1.312 GB, free: 13.31 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.4768, allocations: 91.55 kB / 1.312 GB, free: 13.22 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.4769, allocations: 12 kB / 1.312 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.477, allocations: 67.89 kB / 1.312 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.4771, allocations: 91.56 kB / 1.312 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.4773, allocations: 139 kB / 1.312 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005071/0.4778, allocations: 362.2 kB / 1.312 GB, free: 12.56 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4778, allocations: 0 / 1.312 GB, free: 12.56 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.242e-06/0.4778, allocations: 0 / 1.312 GB, free: 12.56 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.073e-06/0.4778, allocations: 0 / 1.312 GB, free: 12.56 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: 11
 * Number of variables: 11
Notification: Performance of Generate backend data structure: time 0.001087/0.4789, allocations: 0.6165 MB / 1.313 GB, free: 11.91 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4789, allocations: 8.031 kB / 1.313 GB, free: 11.9 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.034e-05/0.479, allocations: 44.66 kB / 1.313 GB, free: 11.86 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005/0.4795, allocations: 298.9 kB / 1.313 GB, free: 11.54 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.4796, allocations: 8.359 kB / 1.313 GB, free: 11.54 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.4796, allocations: 11.88 kB / 1.313 GB, free: 11.52 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.4798, allocations: 77.66 kB / 1.313 GB, free: 11.44 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.4798, allocations: 0 / 1.313 GB, free: 11.44 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.4798, allocations: 0 / 1.313 GB, free: 11.44 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.4799, allocations: 0 / 1.313 GB, free: 11.44 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.48, allocations: 35.98 kB / 1.313 GB, free: 11.41 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007878/0.4808, allocations: 435.5 kB / 1.314 GB, free: 10.94 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.481, allocations: 58.69 kB / 1.314 GB, free: 10.87 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.314e-05/0.481, allocations: 28.84 kB / 1.314 GB, free: 10.84 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.481, allocations: 0 / 1.314 GB, free: 10.84 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.4813, allocations: 87.31 kB / 1.314 GB, free: 10.74 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.4813, allocations: 0 / 1.314 GB, free: 10.74 MB / 1.014 GB
Notification: Performance of matching and sorting (n=6): time 0.000367/0.4816, allocations: 141.4 kB / 1.314 GB, free: 10.6 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.4817, allocations: 59.33 kB / 1.314 GB, free: 10.53 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006471/0.4823, allocations: 0.5333 MB / 1.315 GB, free: 9.984 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.4824, allocations: 25.7 kB / 1.315 GB, free: 9.953 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.4826, allocations: 216 kB / 1.315 GB, free: 9.738 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.4826, allocations: 31.81 kB / 1.315 GB, free: 9.707 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.964e-05/0.4827, allocations: 37.7 kB / 1.315 GB, free: 9.664 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001888/0.4829, allocations: 358.8 kB / 1.315 GB, free: 9.305 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.483, allocations: 47.98 kB / 1.315 GB, free: 9.258 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.4831, allocations: 79.73 kB / 1.315 GB, free: 9.172 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.4833, allocations: 77.73 kB / 1.316 GB, free: 9.09 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.4833, allocations: 4 kB / 1.316 GB, free: 9.086 MB / 1.014 GB
Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003339/0.4836, allocations: 205.2 kB / 1.316 GB, free: 8.879 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4836, allocations: 4 kB / 1.316 GB, free: 8.875 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.4836, allocations: 3.984 kB / 1.316 GB, free: 8.871 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.4836, allocations: 4 kB / 1.316 GB, free: 8.867 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.4838, allocations: 23.92 kB / 1.316 GB, free: 8.844 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.4838, allocations: 4 kB / 1.316 GB, free: 8.84 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.4839, allocations: 15.92 kB / 1.316 GB, free: 8.824 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.4839, allocations: 8.031 kB / 1.316 GB, free: 8.816 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (17):
 * Single equations (assignments): 17
 * 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.0001994/0.4841, allocations: 187.4 kB / 1.316 GB, free: 8.625 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/0.4842, allocations: 47.7 kB / 1.316 GB, free: 8.578 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.4844, allocations: 125.5 kB / 1.316 GB, free: 8.445 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.4844, allocations: 7.938 kB / 1.316 GB, free: 8.438 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4844, allocations: 0 / 1.316 GB, free: 8.438 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4845, allocations: 0 / 1.316 GB, free: 8.438 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.4847, allocations: 268.7 kB / 1.316 GB, free: 8.133 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4848, allocations: 7.922 kB / 1.316 GB, free: 8.125 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/0.4848, allocations: 11.94 kB / 1.316 GB, free: 8.113 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4848, allocations: 3.984 kB / 1.316 GB, free: 8.109 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.4848, allocations: 0 / 1.316 GB, free: 8.109 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.4848, allocations: 4.25 kB / 1.316 GB, free: 8.105 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4848, allocations: 0 / 1.316 GB, free: 8.105 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.485, allocations: 152.8 kB / 1.317 GB, free: 7.938 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.737e-05/0.4851, allocations: 39.7 kB / 1.317 GB, free: 7.898 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.4852, allocations: 8 kB / 1.317 GB, free: 7.891 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.4852, allocations: 11.94 kB / 1.317 GB, free: 7.879 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.4853, allocations: 11.97 kB / 1.317 GB, free: 7.867 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.4853, allocations: 8 kB / 1.317 GB, free: 7.859 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0004264/0.4857, allocations: 362.8 kB / 1.317 GB, free: 7.508 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.4857, allocations: 0 / 1.317 GB, free: 7.508 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002654/0.486, allocations: 39.94 kB / 1.317 GB, free: 7.469 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled)
 * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (6):
 * Single equations (assignments): 4
 * 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.001671/0.4877, allocations: 428.7 kB / 1.317 GB, free: 7.203 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.00027/0.4879, allocations: 83.97 kB / 1.318 GB, free: 7.121 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4879, allocations: 3.938 kB / 1.318 GB, free: 7.117 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 8.688e-05/0.488, allocations: 27.92 kB / 1.318 GB, free: 7.09 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.4884, allocations: 59.31 kB / 1.318 GB, free: 7.039 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.4895, allocations: 0.652 MB / 1.318 GB, free: 6.355 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.49, allocations: 0.8178 MB / 1.319 GB, free: 5.512 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 8.153e-05/0.4901, allocations: 21.47 kB / 1.319 GB, free: 5.492 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.4902, allocations: 23.42 kB / 1.319 GB, free: 5.469 MB / 1.014 GB
Notification: Performance of SimCode: time 4.61e-07/0.4902, allocations: 0 / 1.319 GB, free: 5.469 MB / 1.014 GB
Notification: Performance of Templates: time 0.008257/0.4984, allocations: 2.921 MB / 1.322 GB, free: 2.57 MB / 1.014 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.146082563325763]