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.002588/0.002588, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.003032/0.003032, allocations: 210 kB / 22.24 MB, free: 5.262 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.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 3.618/3.618, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 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.00219/0.00219, allocations: 74.3 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.4491, allocations: 181.9 MB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003755/0.4528, allocations: 1.926 MB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00253/0.4554, allocations: 1.564 MB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.4556, allocations: 8 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.4557, allocations: 59.2 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.456, allocations: 95.09 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008121/0.4568, allocations: 314 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007266/0.4575, allocations: 0.6293 MB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004651/0.458, allocations: 246.4 kB / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.4583, allocations: 243.1 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.4586, allocations: 222.8 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.4587, allocations: 72 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.4589, allocations: 91.92 kB / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.459, allocations: 127.6 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.4593, allocations: 234.9 kB / 1.369 GB, free: 7.695 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009488/0.4603, allocations: 0.8131 MB / 1.37 GB, free: 6.879 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4603, allocations: 3.938 kB / 1.37 GB, free: 6.875 MB / 1.061 GB Notification: Performance of FrontEnd: time 5.891e-06/0.4603, allocations: 3.984 kB / 1.37 GB, free: 6.871 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.798e-05/0.4603, allocations: 0 / 1.37 GB, free: 6.871 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.00143/0.4617, allocations: 0.7525 MB / 1.371 GB, free: 6.074 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4618, allocations: 15.95 kB / 1.371 GB, free: 6.059 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.462, allocations: 76.56 kB / 1.371 GB, free: 5.984 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.4625, allocations: 290 kB / 1.371 GB, free: 5.68 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.355e-05/0.4626, allocations: 45.67 kB / 1.371 GB, free: 5.637 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.664e-05/0.4627, allocations: 60.31 kB / 1.371 GB, free: 5.578 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009292/0.4636, allocations: 0.5072 MB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.4636, allocations: 192 / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/0.4637, allocations: 23.94 kB / 1.372 GB, free: 5.031 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.4637, allocations: 16 kB / 1.372 GB, free: 5.016 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007285/0.4644, allocations: 361.1 kB / 1.372 GB, free: 4.664 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.4664, allocations: 1.139 MB / 1.373 GB, free: 3.492 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006212/0.467, allocations: 257.4 kB / 1.374 GB, free: 3.223 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004287/0.4675, allocations: 177.5 kB / 1.374 GB, free: 3.043 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.4675, allocations: 4 kB / 1.374 GB, free: 3.039 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004809/0.468, allocations: 198.9 kB / 1.374 GB, free: 2.824 MB / 1.061 GB Notification: Performance of pre-optimization done (n=34): time 2.033e-06/0.468, allocations: 0 / 1.374 GB, free: 2.824 MB / 1.061 GB Notification: Performance of matching and sorting (n=34): time 0.0009349/0.4689, allocations: 389.2 kB / 1.374 GB, free: 2.438 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.469, allocations: 81.11 kB / 1.375 GB, free: 2.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.4693, allocations: 277.8 kB / 1.375 GB, free: 2.062 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.4694, allocations: 37.7 kB / 1.375 GB, free: 2.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.4696, allocations: 288.6 kB / 1.375 GB, free: 1.734 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.4697, allocations: 119 kB / 1.375 GB, free: 1.617 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.4699, allocations: 82.12 kB / 1.375 GB, free: 1.531 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.47, allocations: 342.8 kB / 1.376 GB, free: 1.188 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.4704, allocations: 166.5 kB / 1.376 GB, free: 1.016 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.4707, allocations: 236.9 kB / 1.376 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006086/0.4714, allocations: 343.9 kB / 1.376 GB, free: 400 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4714, allocations: 0 / 1.376 GB, free: 400 kB / 1.061 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000937/0.4723, allocations: 0.4905 MB / 1.377 GB, free: 15.88 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.31e-05/0.4723, allocations: 44.03 kB / 1.377 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4724, allocations: 4 kB / 1.377 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.4724, allocations: 4 kB / 1.377 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.4727, allocations: 75.91 kB / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.4727, allocations: 4 kB / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.4731, allocations: 71.81 kB / 1.377 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/0.4731, allocations: 23.92 kB / 1.377 GB, free: 15.66 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.0002219/0.4733, allocations: 177.7 kB / 1.377 GB, free: 15.47 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.4734, allocations: 27.81 kB / 1.377 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006823/0.474, allocations: 315.5 kB / 1.378 GB, free: 15.13 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4741, allocations: 4 kB / 1.378 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.4741, allocations: 8 kB / 1.378 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.4741, allocations: 3.938 kB / 1.378 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.4753, allocations: 0.8197 MB / 1.378 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.4753, allocations: 4 kB / 1.378 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.4756, allocations: 63.84 kB / 1.378 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.4756, allocations: 8.188 kB / 1.378 GB, free: 14.17 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.4756, allocations: 15.98 kB / 1.378 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.4756, allocations: 4 kB / 1.378 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4756, allocations: 0 / 1.378 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007203/0.4763, allocations: 0.4939 MB / 1.379 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.4764, allocations: 35.69 kB / 1.379 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.4764, allocations: 8 kB / 1.379 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.4766, allocations: 15.98 kB / 1.379 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.4767, allocations: 31.89 kB / 1.379 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.4767, allocations: 16 kB / 1.379 GB, free: 13.51 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002236/0.477, allocations: 201.1 kB / 1.379 GB, free: 13.31 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.477, allocations: 0 / 1.379 GB, free: 13.31 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005476/0.4775, allocations: 115.6 kB / 1.379 GB, free: 13.2 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.0001871/0.4777, allocations: 119.1 kB / 1.379 GB, free: 13.07 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008093/0.4785, allocations: 401.8 kB / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4785, allocations: 0 / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.4788, allocations: 127.8 kB / 1.38 GB, free: 12.54 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006201/0.4794, allocations: 58.36 kB / 1.38 GB, free: 12.48 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.4808, allocations: 0.7307 MB / 1.381 GB, free: 11.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.4811, allocations: 220 kB / 1.381 GB, free: 11.46 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001489/0.4813, allocations: 34.97 kB / 1.381 GB, free: 11.43 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.407e-05/0.4813, allocations: 27.42 kB / 1.381 GB, free: 11.4 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.4813, allocations: 0 / 1.381 GB, free: 11.4 MB / 1.076 GB Notification: Performance of Templates: time 0.009157/0.4905, allocations: 3.828 MB / 1.385 GB, free: 7.664 MB / 1.076 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.979601422324777]