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.001859/0.001859, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002134/0.002134, allocations: 220.4 kB / 23 MB, free: 4.914 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.742/2.742, allocations: 476 MB / 0.7707 GB, free: 4.766 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.002116/0.002116, allocations: 64.58 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3015, allocations: 170 MB / 1.284 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003857/0.3054, allocations: 1.93 MB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002704/0.3081, allocations: 1.56 MB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.3083, allocations: 8 kB / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.3084, allocations: 63.19 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.3087, allocations: 95.03 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007717/0.3094, allocations: 312.3 kB / 1.288 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008252/0.3103, allocations: 0.6371 MB / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004774/0.3107, allocations: 250.3 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.311, allocations: 243.1 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.3113, allocations: 222.8 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.412e-05/0.3114, allocations: 72 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.3116, allocations: 95.92 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.3117, allocations: 127.6 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002486/0.312, allocations: 238.9 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000914/0.3129, allocations: 0.8091 MB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3129, allocations: 0 / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3129, allocations: 0 / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.3129, allocations: 4 kB / 1.29 GB, free: 5.426 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.001262/0.3142, allocations: 0.7564 MB / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.3142, allocations: 8.031 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002452/0.3144, allocations: 68.56 kB / 1.291 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/0.3149, allocations: 298 kB / 1.291 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.916e-05/0.315, allocations: 45.69 kB / 1.291 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.587e-05/0.315, allocations: 56.31 kB / 1.291 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008968/0.3159, allocations: 0.5072 MB / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.316, allocations: 192 / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.818e-05/0.316, allocations: 31.94 kB / 1.292 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.316, allocations: 12 kB / 1.292 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000736/0.3168, allocations: 357.1 kB / 1.292 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.3188, allocations: 1.14 MB / 1.293 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005893/0.3193, allocations: 261.4 kB / 1.294 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/0.3198, allocations: 173.6 kB / 1.294 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.3198, allocations: 4 kB / 1.294 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004577/0.3203, allocations: 206.8 kB / 1.294 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 2.134e-06/0.3203, allocations: 0 / 1.294 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.0008886/0.3211, allocations: 382.2 kB / 1.294 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.3212, allocations: 85.05 kB / 1.294 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/0.3217, allocations: 285.8 kB / 1.295 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.3217, allocations: 33.7 kB / 1.295 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.322, allocations: 288.7 kB / 1.295 GB, free: 288 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.819e-05/0.3221, allocations: 123 kB / 1.295 GB, free: 164 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.3222, allocations: 86.11 kB / 1.295 GB, free: 72 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3224, allocations: 338.8 kB / 1.296 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.3227, allocations: 162.5 kB / 1.296 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.3231, allocations: 240.8 kB / 1.296 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/0.3237, allocations: 342.2 kB / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3237, allocations: 0 / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009383/0.3247, allocations: 498.4 kB / 1.297 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/0.3247, allocations: 37.88 kB / 1.297 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.3247, allocations: 8 kB / 1.297 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3248, allocations: 7.938 kB / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.3251, allocations: 75.91 kB / 1.297 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.3251, allocations: 7.984 kB / 1.297 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.3255, allocations: 59.69 kB / 1.297 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.3255, allocations: 19.98 kB / 1.297 GB, free: 14.21 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.0002275/0.3257, allocations: 181.7 kB / 1.297 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.3258, allocations: 31.77 kB / 1.297 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006822/0.3265, allocations: 323.5 kB / 1.297 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3265, allocations: 4 kB / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3265, allocations: 0 / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.3265, allocations: 3.938 kB / 1.298 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.3277, allocations: 0.8099 MB / 1.298 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.3277, allocations: 4 kB / 1.298 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.328, allocations: 67.83 kB / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.328, allocations: 4 kB / 1.298 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.328, allocations: 8 kB / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.328, allocations: 8 kB / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.328, allocations: 4 kB / 1.298 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007376/0.3288, allocations: 0.5019 MB / 1.299 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.3288, allocations: 39.62 kB / 1.299 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.3289, allocations: 11.98 kB / 1.299 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.3291, allocations: 12 kB / 1.299 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.3291, allocations: 27.95 kB / 1.299 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.3292, allocations: 11.94 kB / 1.299 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002197/0.3294, allocations: 201.1 kB / 1.299 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3294, allocations: 0 / 1.299 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004872/0.3299, allocations: 119.6 kB / 1.299 GB, free: 11.75 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.0001665/0.33, allocations: 127.1 kB / 1.299 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007548/0.3308, allocations: 395.4 kB / 1.3 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3308, allocations: 0 / 1.3 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.3311, allocations: 132.6 kB / 1.3 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.3316, allocations: 55.66 kB / 1.3 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.3331, allocations: 0.7598 MB / 1.301 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.3333, allocations: 220 kB / 1.301 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.451e-05/0.3334, allocations: 35.42 kB / 1.301 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.3334, allocations: 3.938 kB / 1.301 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of Templates: time 0.008105/0.3415, allocations: 4.786 MB / 1.306 GB, free: 5.172 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.027989123947918]