Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001412/0.001412, 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.002023/0.002023, allocations: 191.9 kB / 22.23 MB, free: 5.105 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.485/1.485, allocations: 225.6 MB / 251 MB, free: 13.01 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.096/3.096, allocations: 0.4893 GB / 0.7884 GB, free: 33.21 MB / 0.6231 GB
"
[Timeout remaining time 177]
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.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_latest_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_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.64 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3649, allocations: 174.9 MB / 1.316 GB, free: 9.742 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003394/0.3683, allocations: 2.218 MB / 1.318 GB, free: 7.52 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002013/0.3704, allocations: 1.54 MB / 1.32 GB, free: 5.965 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.3705, allocations: 11.94 kB / 1.32 GB, free: 5.953 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.3707, allocations: 59.2 kB / 1.32 GB, free: 5.895 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.3709, allocations: 99.09 kB / 1.32 GB, free: 5.797 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006878/0.3716, allocations: 302.8 kB / 1.32 GB, free: 5.504 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0006276/0.3722, allocations: 0.6331 MB / 1.321 GB, free: 4.867 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004012/0.3726, allocations: 270.4 kB / 1.321 GB, free: 4.59 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.3729, allocations: 235.2 kB / 1.321 GB, free: 4.359 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.3731, allocations: 258.8 kB / 1.321 GB, free: 4.105 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 8.229e-05/0.3732, allocations: 72 kB / 1.322 GB, free: 4.035 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.3733, allocations: 79.98 kB / 1.322 GB, free: 3.957 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.3735, allocations: 135.5 kB / 1.322 GB, free: 3.824 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002528/0.3737, allocations: 298.6 kB / 1.322 GB, free: 3.531 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007857/0.3745, allocations: 0.7858 MB / 1.323 GB, free: 2.742 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3745, allocations: 7.922 kB / 1.323 GB, free: 2.734 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.583e-06/0.3745, allocations: 0 / 1.323 GB, free: 2.734 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.817e-06/0.3745, allocations: 0 / 1.323 GB, free: 2.734 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: 139
 * Number of variables: 139
Notification: Performance of Generate backend data structure: time 0.001334/0.3758, allocations: 0.7525 MB / 1.324 GB, free: 1.938 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 7.232e-05/0.3759, allocations: 8.031 kB / 1.324 GB, free: 1.93 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.3761, allocations: 72.48 kB / 1.324 GB, free: 1.859 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005961/0.3767, allocations: 290 kB / 1.324 GB, free: 1.555 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.543e-05/0.3767, allocations: 49.67 kB / 1.324 GB, free: 1.508 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.852e-05/0.3768, allocations: 56.38 kB / 1.324 GB, free: 1.453 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.3778, allocations: 0.5032 MB / 1.324 GB, free: 0.9336 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.3779, allocations: 4.188 kB / 1.324 GB, free: 0.9297 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.817e-05/0.3779, allocations: 27.94 kB / 1.325 GB, free: 0.9023 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.3779, allocations: 12 kB / 1.325 GB, free: 0.8906 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007039/0.3787, allocations: 357.1 kB / 1.325 GB, free: 0.543 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.381, allocations: 1.396 MB / 1.326 GB, free: 15.1 MB / 1.029 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006364/0.3816, allocations: 267.7 kB / 1.326 GB, free: 14.82 MB / 1.029 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/0.382, allocations: 169.6 kB / 1.327 GB, free: 14.65 MB / 1.029 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.382, allocations: 7.984 kB / 1.327 GB, free: 14.64 MB / 1.029 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004068/0.3824, allocations: 204 kB / 1.327 GB, free: 14.42 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.3824, allocations: 3.938 kB / 1.327 GB, free: 14.42 MB / 1.029 GB
Notification: Performance of matching and sorting (n=34): time 0.0009071/0.3834, allocations: 393.1 kB / 1.327 GB, free: 14.03 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.3834, allocations: 85.09 kB / 1.327 GB, free: 13.93 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/0.3839, allocations: 409.6 kB / 1.328 GB, free: 13.53 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.3839, allocations: 37.69 kB / 1.328 GB, free: 13.48 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.3841, allocations: 268.5 kB / 1.328 GB, free: 13.21 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 9.251e-05/0.3842, allocations: 123 kB / 1.328 GB, free: 13.09 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.3844, allocations: 86.02 kB / 1.328 GB, free: 13 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0001731/0.3845, allocations: 350.8 kB / 1.329 GB, free: 12.65 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.3848, allocations: 132.8 kB / 1.329 GB, free: 12.52 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.3851, allocations: 207.1 kB / 1.329 GB, free: 12.3 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005772/0.3857, allocations: 343.8 kB / 1.329 GB, free: 11.93 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3857, allocations: 0 / 1.329 GB, free: 11.93 MB / 1.029 GB
Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009099/0.3866, allocations: 474.7 kB / 1.33 GB, free: 11.46 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 7.015e-05/0.3867, allocations: 41.89 kB / 1.33 GB, free: 11.41 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3867, allocations: 0 / 1.33 GB, free: 11.41 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.561e-05/0.3868, allocations: 4 kB / 1.33 GB, free: 11.41 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.3871, allocations: 91.83 kB / 1.33 GB, free: 11.32 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.3871, allocations: 3.938 kB / 1.33 GB, free: 11.31 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.3875, allocations: 71.59 kB / 1.33 GB, free: 11.24 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.3875, allocations: 19.98 kB / 1.33 GB, free: 11.22 MB / 1.029 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.0002736/0.3878, allocations: 182.5 kB / 1.33 GB, free: 11.04 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-05/0.3879, allocations: 43.72 kB / 1.33 GB, free: 10.99 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007365/0.3886, allocations: 327.3 kB / 1.33 GB, free: 10.67 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3886, allocations: 4 kB / 1.33 GB, free: 10.66 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.3886, allocations: 3.938 kB / 1.33 GB, free: 10.66 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.3886, allocations: 3.984 kB / 1.33 GB, free: 10.66 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.3899, allocations: 0.9481 MB / 1.331 GB, free: 9.641 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.39, allocations: 4 kB / 1.331 GB, free: 9.637 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.3902, allocations: 60.09 kB / 1.331 GB, free: 9.578 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.3902, allocations: 4 kB / 1.331 GB, free: 9.574 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.3902, allocations: 8 kB / 1.331 GB, free: 9.566 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/0.3902, allocations: 11.92 kB / 1.331 GB, free: 9.555 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3902, allocations: 0 / 1.331 GB, free: 9.555 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007584/0.391, allocations: 0.5133 MB / 1.332 GB, free: 9.004 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.088e-05/0.3911, allocations: 51.64 kB / 1.332 GB, free: 8.953 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.3911, allocations: 8 kB / 1.332 GB, free: 8.945 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.3913, allocations: 19.98 kB / 1.332 GB, free: 8.926 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.463e-05/0.3914, allocations: 27.89 kB / 1.332 GB, free: 8.898 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.3915, allocations: 15.94 kB / 1.332 GB, free: 8.883 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0003545/0.3918, allocations: 291.2 kB / 1.332 GB, free: 8.598 MB / 1.029 GB
Notification: Performance of sort global known variables: time 9e-08/0.3918, allocations: 0 / 1.332 GB, free: 8.598 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.000545/0.3924, allocations: 107.7 kB / 1.332 GB, free: 8.492 MB / 1.029 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.0002287/0.3926, allocations: 115.7 kB / 1.333 GB, free: 8.371 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0007915/0.3934, allocations: 364.5 kB / 1.333 GB, free: 8.004 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3934, allocations: 0 / 1.333 GB, free: 8.004 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.3937, allocations: 131.8 kB / 1.333 GB, free: 7.875 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006146/0.3943, allocations: 70.16 kB / 1.333 GB, free: 7.809 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.3959, allocations: 0.7502 MB / 1.334 GB, free: 7.008 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/0.3964, allocations: 0.8237 MB / 1.335 GB, free: 6.152 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0001598/0.3966, allocations: 43.27 kB / 1.335 GB, free: 6.105 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.291e-05/0.3967, allocations: 31.42 kB / 1.335 GB, free: 6.078 MB / 1.029 GB
Notification: Performance of SimCode: time 8.02e-07/0.3967, allocations: 0 / 1.335 GB, free: 6.078 MB / 1.029 GB
Notification: Performance of Templates: time 0.009474/0.4061, allocations: 4.25 MB / 1.339 GB, free: 1.902 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.17064025439322]