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.001838/0.001838, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.002244/0.002244, allocations: 191.1 kB / 22.11 MB, free: 4.227 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.693/1.693, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.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.2/3.2, allocations: 495.8 MB / 0.783 GB, free: 12.35 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.002021/0.002021, allocations: 68.12 kB / 1.137 GB, free: 12.22 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.451/1.454, allocations: 173.6 MB / 1.307 GB, free: 33.82 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003692/1.457, allocations: 2.223 MB / 1.309 GB, free: 32.29 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.002085/1.459, allocations: 1.394 MB / 1.31 GB, free: 31.32 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/1.459, allocations: 4 kB / 1.31 GB, free: 31.32 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006243/1.46, allocations: 193 kB / 1.31 GB, free: 31.24 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.00031/1.46, allocations: 135.6 kB / 1.311 GB, free: 31.17 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003505/1.461, allocations: 146.4 kB / 1.311 GB, free: 31.09 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0002848/1.461, allocations: 231.4 kB / 1.311 GB, free: 30.98 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/1.461, allocations: 31.16 kB / 1.311 GB, free: 30.96 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000159/1.461, allocations: 108.1 kB / 1.311 GB, free: 30.91 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/1.461, allocations: 100.5 kB / 1.311 GB, free: 30.87 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 3.396e-05/1.461, allocations: 8.531 kB / 1.311 GB, free: 30.87 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/1.462, allocations: 54 kB / 1.311 GB, free: 30.86 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 0.000109/1.462, allocations: 93.75 kB / 1.311 GB, free: 30.82 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001082/1.462, allocations: 132.1 kB / 1.311 GB, free: 30.72 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004476/1.462, allocations: 360.7 kB / 1.312 GB, free: 30.57 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.462, allocations: 3.094 kB / 1.312 GB, free: 30.57 MB / 1.061 GB
Notification: Performance of FrontEnd: time 2.124e-06/1.462, allocations: 0 / 1.312 GB, free: 30.57 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 9.007e-06/1.462, allocations: 4 kB / 1.312 GB, free: 30.57 MB / 1.061 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.0009456/1.463, allocations: 0.6226 MB / 1.312 GB, free: 30.06 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1.463, allocations: 10.22 kB / 1.312 GB, free: 30.06 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.349e-05/1.463, allocations: 45.62 kB / 1.312 GB, free: 30.04 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/1.464, allocations: 295.4 kB / 1.313 GB, free: 29.8 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/1.464, allocations: 3.125 kB / 1.313 GB, free: 29.8 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/1.464, allocations: 11.06 kB / 1.313 GB, free: 29.79 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/1.464, allocations: 76.62 kB / 1.313 GB, free: 29.75 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.464, allocations: 2.219 kB / 1.313 GB, free: 29.75 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/1.464, allocations: 4 kB / 1.313 GB, free: 29.74 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/1.464, allocations: 2.469 kB / 1.313 GB, free: 29.74 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/1.464, allocations: 30.98 kB / 1.313 GB, free: 29.73 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006721/1.465, allocations: 431 kB / 1.313 GB, free: 29.42 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/1.465, allocations: 70.33 kB / 1.313 GB, free: 29.38 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/1.465, allocations: 24.36 kB / 1.313 GB, free: 29.36 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/1.465, allocations: 0 / 1.313 GB, free: 29.36 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/1.465, allocations: 77.77 kB / 1.313 GB, free: 29.3 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=6): time 1.302e-06/1.465, allocations: 0 / 1.313 GB, free: 29.3 MB / 1.061 GB
Notification: Performance of matching and sorting (n=6): time 0.0003562/1.466, allocations: 148.8 kB / 1.314 GB, free: 29.22 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/1.466, allocations: 55.34 kB / 1.314 GB, free: 29.15 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/1.466, allocations: 0.532 MB / 1.314 GB, free: 28.92 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 1.705e-05/1.466, allocations: 28.33 kB / 1.314 GB, free: 28.89 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001321/1.466, allocations: 224.5 kB / 1.314 GB, free: 28.71 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/1.466, allocations: 14.81 kB / 1.314 GB, free: 28.7 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.484e-05/1.466, allocations: 38.61 kB / 1.314 GB, free: 28.67 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 9.166e-05/1.466, allocations: 362.6 kB / 1.315 GB, free: 28.34 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.85e-05/1.467, allocations: 53.36 kB / 1.315 GB, free: 28.32 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/1.467, allocations: 79.61 kB / 1.315 GB, free: 28.27 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/1.467, allocations: 77.22 kB / 1.315 GB, free: 28.23 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/1.467, allocations: 0 / 1.315 GB, free: 28.23 MB / 1.061 GB
Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002905/1.467, allocations: 209.8 kB / 1.315 GB, free: 28.12 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.467, allocations: 11.12 kB / 1.315 GB, free: 28.12 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/1.467, allocations: 0 / 1.315 GB, free: 28.12 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/1.467, allocations: 3.984 kB / 1.315 GB, free: 28.12 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/1.467, allocations: 26.19 kB / 1.315 GB, free: 28.11 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.467, allocations: 3.281 kB / 1.315 GB, free: 28.11 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/1.467, allocations: 12.44 kB / 1.315 GB, free: 28.11 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/1.467, allocations: 9.031 kB / 1.315 GB, free: 28.11 MB / 1.061 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.0001427/1.468, allocations: 185.7 kB / 1.315 GB, free: 27.96 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/1.468, allocations: 46.72 kB / 1.315 GB, free: 27.94 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/1.468, allocations: 129.8 kB / 1.316 GB, free: 27.86 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.468, allocations: 3.938 kB / 1.316 GB, free: 27.86 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.468, allocations: 2.562 kB / 1.316 GB, free: 27.86 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.468, allocations: 4.047 kB / 1.316 GB, free: 27.86 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/1.468, allocations: 278 kB / 1.316 GB, free: 27.64 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.468, allocations: 0 / 1.316 GB, free: 27.64 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.04e-05/1.468, allocations: 5.75 kB / 1.316 GB, free: 27.64 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/1.468, allocations: 0 / 1.316 GB, free: 27.64 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/1.468, allocations: 3.141 kB / 1.316 GB, free: 27.64 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/1.468, allocations: 10.84 kB / 1.316 GB, free: 27.64 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.468, allocations: 0 / 1.316 GB, free: 27.64 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/1.468, allocations: 150.8 kB / 1.316 GB, free: 27.53 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/1.468, allocations: 42.62 kB / 1.316 GB, free: 27.5 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/1.468, allocations: 3.188 kB / 1.316 GB, free: 27.5 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.406e-05/1.468, allocations: 10.66 kB / 1.316 GB, free: 27.5 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/1.469, allocations: 10.11 kB / 1.316 GB, free: 27.49 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/1.469, allocations: 6.906 kB / 1.316 GB, free: 27.49 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 0.0003287/1.469, allocations: 365.8 kB / 1.316 GB, free: 27.33 MB / 1.061 GB
Notification: Performance of sort global known variables: time 8.1e-08/1.469, allocations: 3.938 kB / 1.316 GB, free: 27.33 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002586/1.469, allocations: 44.62 kB / 1.317 GB, free: 27.32 MB / 1.061 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.001574/1.471, allocations: 408.7 kB / 1.317 GB, free: 27.13 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0002561/1.471, allocations: 91.84 kB / 1.317 GB, free: 27.1 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.471, allocations: 2.688 kB / 1.317 GB, free: 27.1 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 7.35e-05/1.471, allocations: 28.58 kB / 1.317 GB, free: 27.09 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/1.471, allocations: 58.88 kB / 1.317 GB, free: 27.07 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008799/1.472, allocations: 0.6499 MB / 1.318 GB, free: 26.7 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/1.473, allocations: 0.8142 MB / 1.319 GB, free: 25.99 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 7.658e-05/1.473, allocations: 31.11 kB / 1.319 GB, free: 25.98 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/1.473, allocations: 31.19 kB / 1.319 GB, free: 25.96 MB / 1.061 GB
Notification: Performance of SimCode: time 4.81e-07/1.473, allocations: 0 / 1.319 GB, free: 25.96 MB / 1.061 GB
Notification: Performance of Templates: time 0.007171/1.48, allocations: 2.916 MB / 1.321 GB, free: 25.69 MB / 1.061 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: 11.114496938884258]