Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001355/0.001355, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00158/0.00158, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.789/2.789, allocations: 476.7 MB / 0.7714 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002041/0.002041, allocations: 66.61 kB / 1.119 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3076, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003796/0.3114, allocations: 2.226 MB / 1.287 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002667/0.3141, allocations: 1.598 MB / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003242/0.3144, allocations: 12 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.3146, allocations: 59.2 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.3149, allocations: 95.08 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000968/0.3158, allocations: 302.7 kB / 1.289 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009036/0.3167, allocations: 0.6448 MB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004872/0.3172, allocations: 266.3 kB / 1.29 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.3175, allocations: 239.1 kB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.3179, allocations: 262.8 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.318, allocations: 72 kB / 1.29 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.3181, allocations: 91.98 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.3183, allocations: 135.5 kB / 1.29 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.3185, allocations: 286.6 kB / 1.291 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009825/0.3195, allocations: 0.8014 MB / 1.291 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3195, allocations: 3.938 kB / 1.291 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.266e-06/0.3195, allocations: 3.984 kB / 1.291 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.781e-05/0.3195, allocations: 0 / 1.291 GB, free: 4.199 MB / 0.9825 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.001296/0.3208, allocations: 0.7486 MB / 1.292 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3209, allocations: 16.02 kB / 1.292 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002527/0.3211, allocations: 64.56 kB / 1.292 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.3216, allocations: 298 kB / 1.293 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/0.3216, allocations: 45.69 kB / 1.293 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.25e-05/0.3217, allocations: 56.38 kB / 1.293 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000881/0.3226, allocations: 0.5071 MB / 1.293 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.3226, allocations: 4.188 kB / 1.293 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.706e-05/0.3227, allocations: 27.94 kB / 1.293 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.3227, allocations: 15.94 kB / 1.293 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007012/0.3234, allocations: 353.1 kB / 1.294 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.3256, allocations: 1.392 MB / 1.295 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005857/0.3262, allocations: 273.3 kB / 1.295 GB, free: 280 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.3266, allocations: 173.6 kB / 1.295 GB, free: 100 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.3266, allocations: 7.984 kB / 1.295 GB, free: 92 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003968/0.327, allocations: 195 kB / 1.296 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.327, allocations: 4 kB / 1.296 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0008775/0.3279, allocations: 392.8 kB / 1.296 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.3279, allocations: 85.11 kB / 1.296 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004661/0.3284, allocations: 409.7 kB / 1.296 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.3284, allocations: 33.7 kB / 1.296 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.3287, allocations: 276.3 kB / 1.297 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.042e-05/0.3288, allocations: 111 kB / 1.297 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.3289, allocations: 90.02 kB / 1.297 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3291, allocations: 350.8 kB / 1.297 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.3294, allocations: 136.8 kB / 1.297 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.3297, allocations: 203.1 kB / 1.298 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005791/0.3303, allocations: 340.7 kB / 1.298 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3303, allocations: 0 / 1.298 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000861/0.3312, allocations: 476.7 kB / 1.298 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.3312, allocations: 41.69 kB / 1.298 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3312, allocations: 4 kB / 1.298 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.3312, allocations: 4 kB / 1.298 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.3316, allocations: 79.84 kB / 1.298 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.3316, allocations: 7.938 kB / 1.298 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.332, allocations: 91.7 kB / 1.299 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.332, allocations: 12 kB / 1.299 GB, free: 12.68 MB / 0.9981 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.0002095/0.3322, allocations: 173.8 kB / 1.299 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/0.3323, allocations: 43.72 kB / 1.299 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000673/0.3329, allocations: 326.9 kB / 1.299 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3329, allocations: 8 kB / 1.299 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.333, allocations: 11.94 kB / 1.299 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.333, allocations: 0 / 1.299 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.3342, allocations: 0.9419 MB / 1.3 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3342, allocations: 7.938 kB / 1.3 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.3345, allocations: 55.91 kB / 1.3 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.3345, allocations: 4 kB / 1.3 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.3345, allocations: 11.98 kB / 1.3 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3345, allocations: 7.938 kB / 1.3 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3345, allocations: 0 / 1.3 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006775/0.3352, allocations: 0.5135 MB / 1.301 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.889e-05/0.3353, allocations: 51.69 kB / 1.301 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.3353, allocations: 8 kB / 1.301 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.3355, allocations: 19.92 kB / 1.301 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.3356, allocations: 19.97 kB / 1.301 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.3356, allocations: 19.92 kB / 1.301 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003291/0.336, allocations: 287.2 kB / 1.301 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.336, allocations: 0 / 1.301 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004761/0.3364, allocations: 111.7 kB / 1.301 GB, free: 9.957 MB / 0.9981 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.000166/0.3366, allocations: 119.1 kB / 1.301 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007209/0.3373, allocations: 359.6 kB / 1.302 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3373, allocations: 0 / 1.302 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.3376, allocations: 140.3 kB / 1.302 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/0.3382, allocations: 61.45 kB / 1.302 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.3396, allocations: 0.7795 MB / 1.302 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.3401, allocations: 0.8276 MB / 1.303 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.3402, allocations: 31.44 kB / 1.303 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/0.3402, allocations: 0 / 1.303 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of Templates: time 0.008536/0.3487, allocations: 5.073 MB / 1.308 GB, free: 2.496 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.074343458021758]