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.01042/0.01042, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.001807/0.001807, allocations: 193.6 kB / 16.67 MB, free: 5.973 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.925/2.925, allocations: 461.8 MB / 0.7347 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 55.91 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3758, allocations: 157.4 MB / 1.208 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003908/0.3798, allocations: 2.224 MB / 1.21 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002771/0.3826, allocations: 1.524 MB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004025/0.383, allocations: 8 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.3832, allocations: 59.2 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000416/0.3837, allocations: 95.08 kB / 1.212 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009444/0.3846, allocations: 303.2 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009645/0.3856, allocations: 0.6487 MB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006366/0.3863, allocations: 357.8 kB / 1.213 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004088/0.3867, allocations: 231.2 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004816/0.3872, allocations: 258.7 kB / 1.213 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.3873, allocations: 68 kB / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.3876, allocations: 87.98 kB / 1.213 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.3877, allocations: 131.6 kB / 1.214 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003516/0.3881, allocations: 294.5 kB / 1.214 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000981/0.3891, allocations: 0.7862 MB / 1.215 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3891, allocations: 4 kB / 1.215 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3891, allocations: 0 / 1.215 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.237e-05/0.3891, allocations: 0 / 1.215 GB, free: 2.621 MB / 0.9669 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.001539/0.3907, allocations: 0.8167 MB / 1.215 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.3907, allocations: 8.625 kB / 1.215 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.3909, allocations: 64.19 kB / 1.215 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/0.3915, allocations: 355.7 kB / 1.216 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.409e-05/0.3915, allocations: 45.69 kB / 1.216 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.577e-05/0.3916, allocations: 56.38 kB / 1.216 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009789/0.3926, allocations: 0.4992 MB / 1.216 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.3926, allocations: 4.188 kB / 1.216 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.3927, allocations: 31.94 kB / 1.216 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.3927, allocations: 12 kB / 1.216 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007761/0.3935, allocations: 360.6 kB / 1.217 GB, free: 284 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.3957, allocations: 1.446 MB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006094/0.3963, allocations: 285.2 kB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/0.3967, allocations: 181.8 kB / 1.219 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.3968, allocations: 4 kB / 1.219 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004784/0.3972, allocations: 202.8 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 2.254e-06/0.3973, allocations: 4 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.0008466/0.3981, allocations: 378.9 kB / 1.219 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.3982, allocations: 85.11 kB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004499/0.3986, allocations: 413.5 kB / 1.22 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.3987, allocations: 33.7 kB / 1.22 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.3989, allocations: 275.8 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.675e-05/0.399, allocations: 110.4 kB / 1.22 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.3991, allocations: 86.11 kB / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3993, allocations: 346.8 kB / 1.22 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.3996, allocations: 132.8 kB / 1.221 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.3999, allocations: 214.8 kB / 1.221 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005686/0.4005, allocations: 338 kB / 1.221 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4005, allocations: 0 / 1.221 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008845/0.4014, allocations: 479.2 kB / 1.222 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.4015, allocations: 47.28 kB / 1.222 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.4015, allocations: 4 kB / 1.222 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.4015, allocations: 4 kB / 1.222 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.4019, allocations: 79.89 kB / 1.222 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.4019, allocations: 15.81 kB / 1.222 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.4023, allocations: 71.34 kB / 1.222 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.4023, allocations: 23.98 kB / 1.222 GB, free: 10.87 MB / 0.9825 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.0002064/0.4025, allocations: 169.8 kB / 1.222 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.4026, allocations: 39.47 kB / 1.222 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006492/0.4033, allocations: 332.9 kB / 1.222 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4033, allocations: 4 kB / 1.222 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.4033, allocations: 3.938 kB / 1.222 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.4033, allocations: 7.984 kB / 1.222 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.4045, allocations: 0.9749 MB / 1.223 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4045, allocations: 0 / 1.223 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.4048, allocations: 64.09 kB / 1.223 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.4048, allocations: 4 kB / 1.223 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.4048, allocations: 8 kB / 1.223 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.4049, allocations: 4 kB / 1.223 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.4049, allocations: 7.938 kB / 1.223 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.4055, allocations: 0.513 MB / 1.224 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.4057, allocations: 124.6 kB / 1.224 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.195e-05/0.4057, allocations: 8 kB / 1.224 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.406, allocations: 19.98 kB / 1.224 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.406, allocations: 27.91 kB / 1.224 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.4061, allocations: 11.94 kB / 1.224 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002964/0.4064, allocations: 287.2 kB / 1.224 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4064, allocations: 0 / 1.224 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004834/0.4069, allocations: 107.7 kB / 1.224 GB, free: 8.039 MB / 0.9825 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.0001923/0.4071, allocations: 119.2 kB / 1.225 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007474/0.4078, allocations: 383 kB / 1.225 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4078, allocations: 0 / 1.225 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002885/0.4081, allocations: 144.5 kB / 1.225 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.4087, allocations: 62.77 kB / 1.225 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.41, allocations: 0.7391 MB / 1.226 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.4105, allocations: 0.8198 MB / 1.227 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001536/0.4106, allocations: 43.27 kB / 1.227 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.532e-05/0.4107, allocations: 35.42 kB / 1.227 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of SimCode: time 2.214e-06/0.4107, allocations: 0 / 1.227 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of Templates: time 0.008916/0.4196, allocations: 4.033 MB / 1.231 GB, free: 1.648 MB / 0.9825 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