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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 77.86 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 159.3 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.914/2.914, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003305/0.003305, allocations: 63.91 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.026, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003537/1.03, allocations: 1.945 MB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002098/1.032, allocations: 1.566 MB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/1.032, allocations: 8.75 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/1.032, allocations: 60.61 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002478/1.032, allocations: 92.97 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007239/1.033, allocations: 305.8 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005856/1.034, allocations: 0.6387 MB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000374/1.034, allocations: 253.4 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/1.034, allocations: 242.2 kB / 1.192 GB, free: 12.88 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/1.034, allocations: 223.5 kB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/1.035, allocations: 69.5 kB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/1.035, allocations: 97.39 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.591e-05/1.035, allocations: 126.3 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002179/1.035, allocations: 238.9 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008902/1.036, allocations: 0.808 MB / 1.193 GB, free: 12.19 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/1.036, allocations: 0 / 1.193 GB, free: 12.19 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/1.036, allocations: 0 / 1.193 GB, free: 12.19 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.016e-05/1.036, allocations: 0 / 1.193 GB, free: 12.19 MB / 1.076 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.001168/1.037, allocations: 0.7545 MB / 1.194 GB, free: 11.62 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.037, allocations: 9.75 kB / 1.194 GB, free: 11.62 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/1.037, allocations: 68.66 kB / 1.194 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/1.038, allocations: 297.4 kB / 1.194 GB, free: 11.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/1.038, allocations: 41.62 kB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.873e-05/1.038, allocations: 59.83 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009123/1.039, allocations: 0.5061 MB / 1.195 GB, free: 11.09 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/1.039, allocations: 4.125 kB / 1.195 GB, free: 11.09 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/1.039, allocations: 24.86 kB / 1.195 GB, free: 11.07 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/1.039, allocations: 13.38 kB / 1.195 GB, free: 11.07 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000727/1.04, allocations: 360.8 kB / 1.195 GB, free: 10.94 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/1.042, allocations: 1.138 MB / 1.196 GB, free: 10.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/1.042, allocations: 265.7 kB / 1.197 GB, free: 10.09 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004035/1.042, allocations: 171.1 kB / 1.197 GB, free: 10.02 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/1.043, allocations: 9.781 kB / 1.197 GB, free: 10.02 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00042/1.043, allocations: 196.1 kB / 1.197 GB, free: 9.906 MB / 1.076 GB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/1.043, allocations: 1.094 kB / 1.197 GB, free: 9.906 MB / 1.076 GB Notification: Performance of matching and sorting (n=34): time 0.0008349/1.044, allocations: 384.4 kB / 1.197 GB, free: 9.746 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/1.044, allocations: 82.02 kB / 1.197 GB, free: 9.652 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/1.044, allocations: 283.3 kB / 1.198 GB, free: 9.488 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/1.044, allocations: 34.16 kB / 1.198 GB, free: 9.453 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/1.044, allocations: 295.9 kB / 1.198 GB, free: 9.215 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.503e-05/1.044, allocations: 115.5 kB / 1.198 GB, free: 9.125 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/1.045, allocations: 80.66 kB / 1.198 GB, free: 9.082 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.116e-05/1.045, allocations: 339.6 kB / 1.198 GB, free: 8.758 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/1.045, allocations: 171.3 kB / 1.199 GB, free: 8.672 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/1.045, allocations: 232.5 kB / 1.199 GB, free: 8.516 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005547/1.046, allocations: 342.4 kB / 1.199 GB, free: 8.305 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.046, allocations: 5.188 kB / 1.199 GB, free: 8.301 MB / 1.076 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008814/1.047, allocations: 499.8 kB / 1.2 GB, free: 8.047 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/1.047, allocations: 35.06 kB / 1.2 GB, free: 8.016 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/1.047, allocations: 3.047 kB / 1.2 GB, free: 8.016 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/1.047, allocations: 3.844 kB / 1.2 GB, free: 8.016 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/1.047, allocations: 87.77 kB / 1.2 GB, free: 8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/1.047, allocations: 3.703 kB / 1.2 GB, free: 8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/1.047, allocations: 72.31 kB / 1.2 GB, free: 7.965 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.615e-05/1.048, allocations: 23.08 kB / 1.2 GB, free: 7.957 MB / 1.076 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.0001649/1.048, allocations: 171.8 kB / 1.2 GB, free: 7.805 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/1.048, allocations: 29.53 kB / 1.2 GB, free: 7.789 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006506/1.048, allocations: 331.5 kB / 1.2 GB, free: 7.633 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/1.048, allocations: 3.219 kB / 1.2 GB, free: 7.633 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.048, allocations: 1.844 kB / 1.2 GB, free: 7.633 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/1.048, allocations: 14.48 kB / 1.2 GB, free: 7.621 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/1.049, allocations: 0.8156 MB / 1.201 GB, free: 7.066 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.049, allocations: 2.312 kB / 1.201 GB, free: 7.066 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/1.05, allocations: 70.31 kB / 1.201 GB, free: 7.051 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/1.05, allocations: 6.906 kB / 1.201 GB, free: 7.047 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/1.05, allocations: 8.734 kB / 1.201 GB, free: 7.043 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/1.05, allocations: 3.438 kB / 1.201 GB, free: 7.043 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.05, allocations: 2.75 kB / 1.201 GB, free: 7.043 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005826/1.05, allocations: 0.4902 MB / 1.202 GB, free: 6.688 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/1.05, allocations: 40.48 kB / 1.202 GB, free: 6.66 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/1.05, allocations: 12.62 kB / 1.202 GB, free: 6.652 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/1.051, allocations: 14.67 kB / 1.202 GB, free: 6.648 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/1.051, allocations: 24.56 kB / 1.202 GB, free: 6.645 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/1.051, allocations: 13.89 kB / 1.202 GB, free: 6.641 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001808/1.051, allocations: 196.6 kB / 1.202 GB, free: 6.527 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.051, allocations: 0 / 1.202 GB, free: 6.527 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004861/1.051, allocations: 116.7 kB / 1.202 GB, free: 6.492 MB / 1.076 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.0001406/1.051, allocations: 121.8 kB / 1.202 GB, free: 6.387 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007084/1.052, allocations: 393.6 kB / 1.203 GB, free: 6.184 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.052, allocations: 1.312 kB / 1.203 GB, free: 6.184 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002631/1.052, allocations: 132 kB / 1.203 GB, free: 6.141 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/1.053, allocations: 55.08 kB / 1.203 GB, free: 6.117 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/1.054, allocations: 0.7393 MB / 1.204 GB, free: 5.629 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/1.054, allocations: 221.8 kB / 1.204 GB, free: 5.527 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001402/1.055, allocations: 33.38 kB / 1.204 GB, free: 5.52 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/1.055, allocations: 31.95 kB / 1.204 GB, free: 5.508 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/1.055, allocations: 0 / 1.204 GB, free: 5.508 MB / 1.076 GB Notification: Performance of Templates: time 0.008811/1.063, allocations: 3.352 MB / 1.207 GB, free: 5.074 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.386455837986432]