Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.001321/0.001321, allocations: 108.8 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.001488/0.001488, allocations: 191.8 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.568/1.568, allocations: 225.6 MB / 251 MB, free: 13 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.552/3.552, allocations: 0.4893 GB / 0.7884 GB, free: 33.26 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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset")
translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 67.33 kB / 1.145 GB, free: 30.73 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.5068/0.5089, allocations: 174.9 MB / 1.316 GB, free: 9.73 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003913/0.5128, allocations: 1.84 MB / 1.318 GB, free: 7.879 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.0003717/0.5131, allocations: 111.6 kB / 1.318 GB, free: 7.77 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.5133, allocations: 7.938 kB / 1.318 GB, free: 7.762 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.5134, allocations: 15.84 kB / 1.318 GB, free: 7.746 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.5135, allocations: 47.5 kB / 1.318 GB, free: 7.699 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.5137, allocations: 35.95 kB / 1.318 GB, free: 7.664 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002795/0.514, allocations: 175.2 kB / 1.318 GB, free: 7.492 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.5142, allocations: 17.19 kB / 1.318 GB, free: 7.473 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.5143, allocations: 59.78 kB / 1.318 GB, free: 7.414 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.5144, allocations: 71.73 kB / 1.318 GB, free: 7.344 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.5145, allocations: 12 kB / 1.318 GB, free: 7.332 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 3.294e-05/0.5145, allocations: 11.94 kB / 1.318 GB, free: 7.32 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.5145, allocations: 23.92 kB / 1.318 GB, free: 7.297 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.5147, allocations: 63.67 kB / 1.318 GB, free: 7.234 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.5149, allocations: 131.5 kB / 1.319 GB, free: 7.105 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5149, allocations: 0 / 1.319 GB, free: 7.105 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.284e-06/0.5149, allocations: 0 / 1.319 GB, free: 7.105 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.045e-06/0.5149, allocations: 0 / 1.319 GB, free: 7.105 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: 16
 * Number of variables: 16
Notification: Performance of Generate backend data structure: time 0.0009073/0.5158, allocations: 373.7 kB / 1.319 GB, free: 6.707 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.5159, allocations: 8.031 kB / 1.319 GB, free: 6.699 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.5159, allocations: 24.84 kB / 1.319 GB, free: 6.676 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.5163, allocations: 151.4 kB / 1.319 GB, free: 6.504 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.5163, allocations: 8.375 kB / 1.319 GB, free: 6.496 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.5164, allocations: 4.375 kB / 1.319 GB, free: 6.492 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.5167, allocations: 119.8 kB / 1.319 GB, free: 6.363 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.5167, allocations: 4.188 kB / 1.319 GB, free: 6.359 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.5168, allocations: 3.938 kB / 1.319 GB, free: 6.355 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.5168, allocations: 4 kB / 1.319 GB, free: 6.352 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003215/0.5171, allocations: 95.88 kB / 1.319 GB, free: 6.258 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009116/0.518, allocations: 443.9 kB / 1.32 GB, free: 5.777 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004261/0.5184, allocations: 121.2 kB / 1.32 GB, free: 5.641 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.5186, allocations: 57.78 kB / 1.32 GB, free: 5.578 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.5187, allocations: 4 kB / 1.32 GB, free: 5.574 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.5187, allocations: 38.5 kB / 1.32 GB, free: 5.527 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=9): time 3.616e-06/0.5187, allocations: 7.922 kB / 1.32 GB, free: 5.52 MB / 1.014 GB
Notification: Performance of matching and sorting (n=9): time 0.0006493/0.5194, allocations: 181.5 kB / 1.32 GB, free: 5.336 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.5194, allocations: 77.11 kB / 1.32 GB, free: 5.242 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.5196, allocations: 178.3 kB / 1.32 GB, free: 5.059 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.5197, allocations: 25.7 kB / 1.32 GB, free: 5.027 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.5198, allocations: 112 kB / 1.32 GB, free: 4.914 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.5198, allocations: 35.69 kB / 1.321 GB, free: 4.879 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.4e-05/0.5199, allocations: 21.72 kB / 1.321 GB, free: 4.852 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002199/0.5201, allocations: 330.8 kB / 1.321 GB, free: 4.52 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.5203, allocations: 39.97 kB / 1.321 GB, free: 4.48 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.5204, allocations: 61.62 kB / 1.321 GB, free: 4.414 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.5208, allocations: 109.6 kB / 1.321 GB, free: 4.301 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.5208, allocations: 0 / 1.321 GB, free: 4.301 MB / 1.014 GB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004021/0.5212, allocations: 145.9 kB / 1.321 GB, free: 4.152 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.5212, allocations: 4 kB / 1.321 GB, free: 4.148 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5212, allocations: 0 / 1.321 GB, free: 4.148 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.221e-05/0.5212, allocations: 4 kB / 1.321 GB, free: 4.145 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.5214, allocations: 23.92 kB / 1.321 GB, free: 4.121 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.5214, allocations: 3.984 kB / 1.321 GB, free: 4.117 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.5216, allocations: 15.95 kB / 1.321 GB, free: 4.102 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.5216, allocations: 7.938 kB / 1.321 GB, free: 4.094 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (10):
 * Single equations (assignments): 10
 * 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.0001556/0.5217, allocations: 121.8 kB / 1.321 GB, free: 3.965 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/0.5218, allocations: 15.91 kB / 1.321 GB, free: 3.949 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005692/0.5224, allocations: 154.6 kB / 1.322 GB, free: 3.789 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.5224, allocations: 0 / 1.322 GB, free: 3.789 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/0.5224, allocations: 4 kB / 1.322 GB, free: 3.785 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5224, allocations: 0 / 1.322 GB, free: 3.785 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.5228, allocations: 192.6 kB / 1.322 GB, free: 3.555 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5228, allocations: 8 kB / 1.322 GB, free: 3.547 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.523, allocations: 27.92 kB / 1.322 GB, free: 3.52 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.523, allocations: 0 / 1.322 GB, free: 3.52 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.523, allocations: 0 / 1.322 GB, free: 3.52 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.523, allocations: 7.984 kB / 1.322 GB, free: 3.512 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.523, allocations: 0 / 1.322 GB, free: 3.512 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/0.5235, allocations: 314.6 kB / 1.322 GB, free: 3.188 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.5236, allocations: 11.94 kB / 1.322 GB, free: 3.176 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.5236, allocations: 7.938 kB / 1.322 GB, free: 3.168 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.5238, allocations: 11.98 kB / 1.322 GB, free: 3.156 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.5239, allocations: 7.984 kB / 1.322 GB, free: 3.148 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.5239, allocations: 3.938 kB / 1.322 GB, free: 3.145 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001577/0.524, allocations: 128.2 kB / 1.322 GB, free: 3.02 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.524, allocations: 4 kB / 1.322 GB, free: 3.016 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003049/0.5243, allocations: 27.95 kB / 1.322 GB, free: 2.988 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (9):
 * Single equations (assignments): 9
 * 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 Backend phase and start with SimCode phase: time 0.0001751/0.5245, allocations: 100.1 kB / 1.322 GB, free: 2.879 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.000463/0.525, allocations: 104 kB / 1.322 GB, free: 2.777 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.525, allocations: 0 / 1.322 GB, free: 2.777 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.5252, allocations: 60.03 kB / 1.323 GB, free: 2.719 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005211/0.5257, allocations: 33.52 kB / 1.323 GB, free: 2.688 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008317/0.5265, allocations: 247.4 kB / 1.323 GB, free: 2.418 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/0.5271, allocations: 0.7045 MB / 1.323 GB, free: 1.688 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.000118/0.5272, allocations: 16.97 kB / 1.323 GB, free: 1.668 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.5273, allocations: 11.44 kB / 1.323 GB, free: 1.656 MB / 1.014 GB
Notification: Performance of SimCode: time 9.11e-07/0.5273, allocations: 0 / 1.323 GB, free: 1.656 MB / 1.014 GB
Notification: Performance of Templates: time 0.007784/0.5351, allocations: 2.168 MB / 1.326 GB, free: 15.54 MB / 1.029 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.37951337825507]