Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.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.001489/0.001489, allocations: 105.8 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.001587/0.001587, allocations: 187.4 kB / 22.1 MB, free: 4.223 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.679/1.679, allocations: 225.6 MB / 250.8 MB, free: 2.891 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 2.995/2.995, allocations: 495.8 MB / 0.783 GB, free: 12.31 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.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset")
translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 59.89 kB / 1.137 GB, free: 12.28 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.265/1.267, allocations: 173.6 MB / 1.307 GB, free: 33.81 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003195/1.271, allocations: 2.215 MB / 1.309 GB, free: 32.25 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.00216/1.273, allocations: 1.532 MB / 1.31 GB, free: 31.1 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002668/1.273, allocations: 8.5 kB / 1.31 GB, free: 31.1 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001463/1.273, allocations: 63.95 kB / 1.31 GB, free: 31.05 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002539/1.274, allocations: 98.81 kB / 1.311 GB, free: 30.98 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007349/1.274, allocations: 294.6 kB / 1.311 GB, free: 30.81 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.000621/1.275, allocations: 0.643 MB / 1.311 GB, free: 30.47 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004238/1.275, allocations: 270 kB / 1.312 GB, free: 30.3 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/1.276, allocations: 228.2 kB / 1.312 GB, free: 30.18 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/1.276, allocations: 270.7 kB / 1.312 GB, free: 30.02 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 8.59e-05/1.276, allocations: 73.97 kB / 1.312 GB, free: 30.02 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/1.276, allocations: 77.81 kB / 1.312 GB, free: 30.02 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 9.61e-05/1.276, allocations: 126.6 kB / 1.312 GB, free: 29.93 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002207/1.276, allocations: 295.3 kB / 1.313 GB, free: 29.73 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007658/1.277, allocations: 0.7951 MB / 1.314 GB, free: 29.41 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.277, allocations: 0 / 1.314 GB, free: 29.41 MB / 1.061 GB
Notification: Performance of FrontEnd: time 2.856e-06/1.277, allocations: 0 / 1.314 GB, free: 29.41 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 1.093e-05/1.277, allocations: 0 / 1.314 GB, free: 29.41 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: 139
 * Number of variables: 139
Notification: Performance of Generate backend data structure: time 0.001286/1.278, allocations: 0.7567 MB / 1.314 GB, free: 28.84 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.278, allocations: 14.7 kB / 1.314 GB, free: 28.84 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/1.279, allocations: 63.03 kB / 1.314 GB, free: 28.8 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/1.279, allocations: 295.3 kB / 1.315 GB, free: 28.57 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/1.279, allocations: 47.25 kB / 1.315 GB, free: 28.55 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-05/1.279, allocations: 53.56 kB / 1.315 GB, free: 28.54 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008119/1.28, allocations: 0.5036 MB / 1.315 GB, free: 28.3 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/1.28, allocations: 6.906 kB / 1.315 GB, free: 28.3 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.51e-05/1.28, allocations: 22.84 kB / 1.315 GB, free: 28.28 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/1.28, allocations: 14.28 kB / 1.315 GB, free: 28.28 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006538/1.281, allocations: 362.3 kB / 1.316 GB, free: 28.15 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/1.283, allocations: 1.386 MB / 1.317 GB, free: 27.32 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/1.283, allocations: 266.2 kB / 1.317 GB, free: 27.18 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003634/1.283, allocations: 164.1 kB / 1.317 GB, free: 27.11 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/1.283, allocations: 17.11 kB / 1.317 GB, free: 27.11 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003249/1.284, allocations: 195.7 kB / 1.318 GB, free: 26.99 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=34): time 1.713e-06/1.284, allocations: 0 / 1.318 GB, free: 26.99 MB / 1.061 GB
Notification: Performance of matching and sorting (n=34): time 0.0008391/1.285, allocations: 393 kB / 1.318 GB, free: 26.83 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/1.285, allocations: 82.48 kB / 1.318 GB, free: 26.73 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/1.285, allocations: 417.4 kB / 1.318 GB, free: 26.52 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 3.33e-05/1.285, allocations: 34.95 kB / 1.318 GB, free: 26.48 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001407/1.285, allocations: 265.8 kB / 1.319 GB, free: 26.27 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 6.744e-05/1.285, allocations: 124.6 kB / 1.319 GB, free: 26.17 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/1.286, allocations: 86 kB / 1.319 GB, free: 26.12 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 8.959e-05/1.286, allocations: 348 kB / 1.319 GB, free: 25.79 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/1.286, allocations: 134.2 kB / 1.319 GB, free: 25.75 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/1.286, allocations: 209.9 kB / 1.32 GB, free: 25.62 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/1.287, allocations: 338.3 kB / 1.32 GB, free: 25.41 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.287, allocations: 3.938 kB / 1.32 GB, free: 25.41 MB / 1.061 GB
Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007538/1.287, allocations: 472.5 kB / 1.32 GB, free: 25.18 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/1.288, allocations: 40.77 kB / 1.32 GB, free: 25.15 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/1.288, allocations: 2.625 kB / 1.32 GB, free: 25.15 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/1.288, allocations: 2.625 kB / 1.32 GB, free: 25.15 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/1.288, allocations: 80.5 kB / 1.32 GB, free: 25.14 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/1.288, allocations: 13.91 kB / 1.32 GB, free: 25.13 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/1.288, allocations: 86.64 kB / 1.321 GB, free: 25.09 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/1.288, allocations: 18.59 kB / 1.321 GB, free: 25.08 MB / 1.061 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 8
 * Number of states: 0 ()
 * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (48):
 * Single equations (assignments): 47
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0001661/1.288, allocations: 176.3 kB / 1.321 GB, free: 24.93 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/1.288, allocations: 43.75 kB / 1.321 GB, free: 24.9 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005948/1.289, allocations: 326.4 kB / 1.321 GB, free: 24.75 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/1.289, allocations: 5.75 kB / 1.321 GB, free: 24.75 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.289, allocations: 7.938 kB / 1.321 GB, free: 24.75 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.289, allocations: 7.266 kB / 1.321 GB, free: 24.74 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/1.29, allocations: 0.9372 MB / 1.322 GB, free: 24.12 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.29, allocations: 3 kB / 1.322 GB, free: 24.12 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/1.29, allocations: 56.41 kB / 1.322 GB, free: 24.11 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/1.29, allocations: 2.781 kB / 1.322 GB, free: 24.11 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/1.29, allocations: 9.562 kB / 1.322 GB, free: 24.11 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/1.29, allocations: 6.219 kB / 1.322 GB, free: 24.11 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.29, allocations: 6.875 kB / 1.322 GB, free: 24.11 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/1.291, allocations: 0.5162 MB / 1.323 GB, free: 23.72 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/1.291, allocations: 56.44 kB / 1.323 GB, free: 23.68 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/1.291, allocations: 9 kB / 1.323 GB, free: 23.68 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/1.291, allocations: 12.69 kB / 1.323 GB, free: 23.68 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.162e-05/1.291, allocations: 32.89 kB / 1.323 GB, free: 23.66 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/1.291, allocations: 19.92 kB / 1.323 GB, free: 23.66 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 0.000253/1.292, allocations: 284.4 kB / 1.323 GB, free: 23.51 MB / 1.061 GB
Notification: Performance of sort global known variables: time 9.1e-08/1.292, allocations: 0 / 1.323 GB, free: 23.51 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0004475/1.292, allocations: 108 kB / 1.323 GB, free: 23.49 MB / 1.061 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 8
 * Number of states: 0 ()
 * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (34):
 * Single equations (assignments): 33
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.0001416/1.292, allocations: 120.2 kB / 1.323 GB, free: 23.38 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0006435/1.293, allocations: 364 kB / 1.324 GB, free: 23.22 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.293, allocations: 0 / 1.324 GB, free: 23.22 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002403/1.293, allocations: 132.6 kB / 1.324 GB, free: 23.17 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005776/1.294, allocations: 67.14 kB / 1.324 GB, free: 23.14 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/1.295, allocations: 0.7568 MB / 1.324 GB, free: 22.64 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/1.295, allocations: 0.8237 MB / 1.325 GB, free: 21.93 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 0.0001483/1.295, allocations: 44.27 kB / 1.325 GB, free: 21.92 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/1.295, allocations: 31 kB / 1.325 GB, free: 21.92 MB / 1.061 GB
Notification: Performance of SimCode: time 7.52e-07/1.295, allocations: 0 / 1.325 GB, free: 21.92 MB / 1.061 GB
Notification: Performance of Templates: time 0.01093/1.306, allocations: 4.246 MB / 1.33 GB, free: 21.56 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.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.311980310827494]