Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001653/0.001653, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001848/0.001848, allocations: 210.1 kB / 22.99 MB, free: 4.957 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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.338/3.338, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002076/0.002076, allocations: 71.05 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3834, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003595/0.387, allocations: 1.926 MB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002462/0.3895, allocations: 1.575 MB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.3897, allocations: 8 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.3898, allocations: 59.2 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.3901, allocations: 95.09 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007985/0.3909, allocations: 311.6 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007489/0.3917, allocations: 0.6409 MB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004493/0.3921, allocations: 266.4 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/0.3924, allocations: 239.2 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.3927, allocations: 254.8 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.691e-05/0.3928, allocations: 72 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.393, allocations: 87.98 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.3931, allocations: 131.5 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002512/0.3934, allocations: 234.9 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.3944, allocations: 0.8092 MB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3944, allocations: 4 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3944, allocations: 0 / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.3944, allocations: 0 / 1.334 GB, free: 10.32 MB / 1.029 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.001409/0.3958, allocations: 0.7525 MB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3959, allocations: 12.03 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002685/0.3961, allocations: 72.55 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.3966, allocations: 301.9 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.3967, allocations: 49.69 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.47e-05/0.3967, allocations: 56.38 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.3978, allocations: 0.5033 MB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.3978, allocations: 192 / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/0.3978, allocations: 23.94 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.3978, allocations: 12 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007667/0.3986, allocations: 361 kB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.4006, allocations: 1.147 MB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.4013, allocations: 261.4 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004202/0.4017, allocations: 168 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.4017, allocations: 11.94 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004929/0.4022, allocations: 195 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.904e-06/0.4022, allocations: 3.938 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0009531/0.4032, allocations: 383.3 kB / 1.338 GB, free: 5.875 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.365e-05/0.4033, allocations: 89.09 kB / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.4036, allocations: 281.8 kB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.4036, allocations: 33.7 kB / 1.338 GB, free: 5.445 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.4038, allocations: 284.7 kB / 1.338 GB, free: 5.164 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.4039, allocations: 123 kB / 1.339 GB, free: 5.043 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.4041, allocations: 82.08 kB / 1.339 GB, free: 4.957 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4043, allocations: 342.8 kB / 1.339 GB, free: 4.613 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.4046, allocations: 162.5 kB / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.405, allocations: 240.8 kB / 1.339 GB, free: 4.184 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006265/0.4056, allocations: 345.2 kB / 1.34 GB, free: 3.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4056, allocations: 0 / 1.34 GB, free: 3.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009493/0.4066, allocations: 0.4897 MB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.372e-05/0.4067, allocations: 37.7 kB / 1.34 GB, free: 3.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.4067, allocations: 0 / 1.34 GB, free: 3.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.4067, allocations: 4 kB / 1.34 GB, free: 3.266 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.4071, allocations: 87.83 kB / 1.34 GB, free: 3.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.4071, allocations: 4 kB / 1.34 GB, free: 3.176 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.4074, allocations: 67.69 kB / 1.34 GB, free: 3.109 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.4075, allocations: 20 kB / 1.34 GB, free: 3.09 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.0002064/0.4077, allocations: 174.2 kB / 1.34 GB, free: 2.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.4077, allocations: 31.8 kB / 1.341 GB, free: 2.879 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006898/0.4084, allocations: 315.5 kB / 1.341 GB, free: 2.562 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.4084, allocations: 4 kB / 1.341 GB, free: 2.559 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4084, allocations: 0 / 1.341 GB, free: 2.559 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.4084, allocations: 7.922 kB / 1.341 GB, free: 2.551 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.4097, allocations: 0.8277 MB / 1.342 GB, free: 1.668 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4097, allocations: 0 / 1.342 GB, free: 1.668 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.41, allocations: 67.84 kB / 1.342 GB, free: 1.602 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.41, allocations: 4 kB / 1.342 GB, free: 1.598 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.41, allocations: 8 kB / 1.342 GB, free: 1.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.41, allocations: 8.125 kB / 1.342 GB, free: 1.582 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.41, allocations: 4 kB / 1.342 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007297/0.4107, allocations: 0.4977 MB / 1.342 GB, free: 1.047 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.4108, allocations: 47.61 kB / 1.342 GB, free: 1 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.4108, allocations: 11.94 kB / 1.342 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.4111, allocations: 15.98 kB / 1.342 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.4111, allocations: 27.89 kB / 1.342 GB, free: 0.9453 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.4112, allocations: 8 kB / 1.342 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002066/0.4114, allocations: 197.2 kB / 1.343 GB, free: 0.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4114, allocations: 0 / 1.343 GB, free: 0.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005038/0.4119, allocations: 131.6 kB / 1.343 GB, free: 0.6211 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.0001652/0.412, allocations: 111.1 kB / 1.343 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000757/0.4128, allocations: 397.6 kB / 1.343 GB, free: 100 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4128, allocations: 384 / 1.343 GB, free: 100 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.4131, allocations: 130.5 kB / 1.343 GB, free: 15.97 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/0.4137, allocations: 54.22 kB / 1.343 GB, free: 15.92 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.415, allocations: 0.7389 MB / 1.344 GB, free: 15.13 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.4153, allocations: 220 kB / 1.344 GB, free: 14.89 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001481/0.4154, allocations: 34.97 kB / 1.344 GB, free: 14.85 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.078e-05/0.4155, allocations: 23.44 kB / 1.344 GB, free: 14.83 MB / 1.045 GB Notification: Performance of SimCode: time 8.01e-07/0.4155, allocations: 0 / 1.344 GB, free: 14.83 MB / 1.045 GB Notification: Performance of Templates: time 0.009546/0.4251, allocations: 3.936 MB / 1.348 GB, free: 10.96 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.482045386001118]