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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 196.8 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.792/2.792, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.94 kB / 0.8984 GB, free: 37.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3562, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003675/0.3599, allocations: 2.234 MB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002266/0.3622, allocations: 1.517 MB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002525/0.3625, allocations: 8 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.3626, allocations: 35.58 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.363, allocations: 67.42 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006814/0.3636, allocations: 271.4 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005398/0.3642, allocations: 0.5863 MB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005108/0.3647, allocations: 349.7 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.3649, allocations: 191.2 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.3652, allocations: 234.8 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.584e-05/0.3653, allocations: 32 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.3654, allocations: 51.98 kB / 1.058 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.155e-05/0.3655, allocations: 91.62 kB / 1.058 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.3657, allocations: 258.5 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000668/0.3664, allocations: 0.7361 MB / 1.059 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3664, allocations: 4 kB / 1.059 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3664, allocations: 0 / 1.059 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.3664, allocations: 0 / 1.059 GB, free: 2.203 MB / 0.8106 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.001282/0.3677, allocations: 0.8143 MB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3678, allocations: 8.031 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.3679, allocations: 60.28 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004356/0.3684, allocations: 363.6 kB / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.197e-05/0.3684, allocations: 49.69 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-05/0.3685, allocations: 56.38 kB / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008648/0.3694, allocations: 0.5031 MB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.3694, allocations: 192 / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.3695, allocations: 27.94 kB / 1.06 GB, free: 228 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.3695, allocations: 12 kB / 1.06 GB, free: 216 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006982/0.3702, allocations: 360.7 kB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/0.3723, allocations: 1.461 MB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.3729, allocations: 285.4 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003953/0.3733, allocations: 177.6 kB / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-05/0.3734, allocations: 4 kB / 1.063 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004937/0.3739, allocations: 210.8 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 2.174e-06/0.3739, allocations: 3.938 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0008657/0.3747, allocations: 397.3 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.3748, allocations: 85.05 kB / 1.063 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/0.3753, allocations: 417.5 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.3753, allocations: 29.7 kB / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.3756, allocations: 271.9 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/0.3756, allocations: 106.5 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.3758, allocations: 90.03 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.376, allocations: 350.8 kB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.3763, allocations: 132.8 kB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/0.3766, allocations: 203.1 kB / 1.065 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005712/0.3772, allocations: 347 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3772, allocations: 0 / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008568/0.3781, allocations: 475.6 kB / 1.066 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.979e-05/0.3782, allocations: 41.69 kB / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.3782, allocations: 0 / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3782, allocations: 4 kB / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.3785, allocations: 84.09 kB / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.3785, allocations: 7.922 kB / 1.066 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.3789, allocations: 79.39 kB / 1.066 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/0.379, allocations: 15.98 kB / 1.066 GB, free: 10.43 MB / 0.8262 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.0002227/0.3792, allocations: 179.2 kB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.504e-05/0.3793, allocations: 43.44 kB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006557/0.38, allocations: 328.9 kB / 1.066 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.38, allocations: 4 kB / 1.066 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.38, allocations: 3.938 kB / 1.066 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.38, allocations: 3.984 kB / 1.066 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.3812, allocations: 0.966 MB / 1.067 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.3812, allocations: 4 kB / 1.067 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.3815, allocations: 59.91 kB / 1.067 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.3815, allocations: 8.188 kB / 1.067 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.3815, allocations: 12 kB / 1.067 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.3815, allocations: 4 kB / 1.067 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3816, allocations: 0 / 1.067 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000637/0.3822, allocations: 0.5075 MB / 1.068 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.3823, allocations: 132.4 kB / 1.068 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.3824, allocations: 11.94 kB / 1.068 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.3826, allocations: 19.98 kB / 1.068 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.601e-05/0.3827, allocations: 27.91 kB / 1.068 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.3827, allocations: 15.94 kB / 1.068 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002963/0.383, allocations: 291.1 kB / 1.068 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.383, allocations: 0 / 1.068 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004749/0.3835, allocations: 111.7 kB / 1.068 GB, free: 7.586 MB / 0.8262 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.0001831/0.3837, allocations: 115.2 kB / 1.069 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007221/0.3844, allocations: 375.1 kB / 1.069 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3844, allocations: 4 kB / 1.069 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.3847, allocations: 135.8 kB / 1.069 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006176/0.3854, allocations: 68.16 kB / 1.069 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.3868, allocations: 0.9191 MB / 1.07 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.3872, allocations: 0.8198 MB / 1.071 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001772/0.3874, allocations: 47.25 kB / 1.071 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.12e-05/0.3875, allocations: 35.42 kB / 1.071 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of SimCode: time 6.41e-07/0.3875, allocations: 0 / 1.071 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of Templates: time 0.009006/0.3965, allocations: 3.715 MB / 1.075 GB, free: 1.34 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) 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) Reference file matches