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.001447/0.001447, 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.001624/0.001624, allocations: 210.7 kB / 22.25 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.601/1.601, allocations: 230.6 MB / 256 MB, free: 7.789 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.929/2.929, allocations: 476 MB / 0.7699 GB, free: 4.781 MB / 0.6231 GB " [Timeout remaining time 176] 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.002131/0.002131, allocations: 65.16 kB / 1.117 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4033, allocations: 169.9 MB / 1.283 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.004122/0.4074, allocations: 1.928 MB / 1.285 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002952/0.4104, allocations: 1.56 MB / 1.286 GB, free: 240 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004373/0.4108, allocations: 11.94 kB / 1.286 GB, free: 228 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.411, allocations: 63.19 kB / 1.286 GB, free: 164 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004512/0.4115, allocations: 95.09 kB / 1.287 GB, free: 68 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.4125, allocations: 307.1 kB / 1.287 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009934/0.4135, allocations: 0.6409 MB / 1.287 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005848/0.4141, allocations: 250.4 kB / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004309/0.4145, allocations: 239.1 kB / 1.288 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004152/0.415, allocations: 218.8 kB / 1.288 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.4151, allocations: 72 kB / 1.288 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.4153, allocations: 91.98 kB / 1.288 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.4155, allocations: 139.5 kB / 1.288 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.4158, allocations: 235 kB / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.4168, allocations: 0.813 MB / 1.289 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4168, allocations: 0 / 1.289 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4168, allocations: 0 / 1.289 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.387e-05/0.4169, allocations: 0 / 1.289 GB, free: 13.08 MB / 0.9981 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.001752/0.4186, allocations: 0.7564 MB / 1.29 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.4187, allocations: 12.03 kB / 1.29 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.419, allocations: 68.56 kB / 1.29 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005836/0.4196, allocations: 290 kB / 1.291 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.205e-05/0.4196, allocations: 41.69 kB / 1.291 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.522e-05/0.4197, allocations: 60.38 kB / 1.291 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.4208, allocations: 0.5071 MB / 1.291 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.4208, allocations: 4.188 kB / 1.291 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/0.4209, allocations: 23.94 kB / 1.291 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.4209, allocations: 19.98 kB / 1.291 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007631/0.4216, allocations: 361.1 kB / 1.292 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.4238, allocations: 1.136 MB / 1.293 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006438/0.4245, allocations: 269.4 kB / 1.293 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/0.4249, allocations: 177.5 kB / 1.293 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.425, allocations: 4 kB / 1.293 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004653/0.4254, allocations: 191 kB / 1.293 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 2.675e-06/0.4254, allocations: 0 / 1.293 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0009153/0.4263, allocations: 389.1 kB / 1.294 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.4264, allocations: 81.11 kB / 1.294 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.4268, allocations: 285.8 kB / 1.294 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.4268, allocations: 33.7 kB / 1.294 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.4271, allocations: 288.7 kB / 1.294 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.4272, allocations: 126.8 kB / 1.294 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.4274, allocations: 86.11 kB / 1.295 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4275, allocations: 334.8 kB / 1.295 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.4279, allocations: 174.5 kB / 1.295 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.4283, allocations: 232.8 kB / 1.295 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/0.429, allocations: 349 kB / 1.296 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.429, allocations: 0 / 1.296 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009438/0.4299, allocations: 494.9 kB / 1.296 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.583e-05/0.43, allocations: 44.81 kB / 1.296 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.43, allocations: 4 kB / 1.296 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.43, allocations: 4 kB / 1.296 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.4303, allocations: 79.83 kB / 1.296 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/0.4303, allocations: 12.17 kB / 1.296 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.4307, allocations: 59.69 kB / 1.296 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.4307, allocations: 23.98 kB / 1.296 GB, free: 5.852 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.0002418/0.431, allocations: 169.7 kB / 1.296 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.431, allocations: 31.77 kB / 1.296 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006826/0.4317, allocations: 322.8 kB / 1.297 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4317, allocations: 4 kB / 1.297 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.4317, allocations: 4 kB / 1.297 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.4317, allocations: 3.938 kB / 1.297 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.4329, allocations: 0.8087 MB / 1.298 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.4329, allocations: 4 kB / 1.298 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.4332, allocations: 72.02 kB / 1.298 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.4332, allocations: 4 kB / 1.298 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.4332, allocations: 11.94 kB / 1.298 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.4332, allocations: 8 kB / 1.298 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4332, allocations: 0 / 1.298 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006943/0.4339, allocations: 0.4978 MB / 1.298 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.434, allocations: 35.69 kB / 1.298 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.434, allocations: 11.98 kB / 1.298 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.4342, allocations: 19.94 kB / 1.298 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.4343, allocations: 27.95 kB / 1.298 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.4343, allocations: 12 kB / 1.298 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002052/0.4345, allocations: 197.2 kB / 1.298 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.4345, allocations: 0 / 1.298 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004807/0.435, allocations: 123.6 kB / 1.299 GB, free: 3.398 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.0001696/0.4351, allocations: 111.2 kB / 1.299 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007996/0.4359, allocations: 405.1 kB / 1.299 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.436, allocations: 0 / 1.299 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.4362, allocations: 131.8 kB / 1.299 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/0.4368, allocations: 52.41 kB / 1.299 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.4381, allocations: 0.7347 MB / 1.3 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.4384, allocations: 220 kB / 1.3 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000136/0.4385, allocations: 30.97 kB / 1.3 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.4386, allocations: 31.42 kB / 1.3 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.4386, allocations: 0 / 1.3 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of Templates: time 0.009089/0.4477, allocations: 3.809 MB / 1.304 GB, free: 13.87 MB / 1.014 GB " [Timeout remaining time 300] 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/jenkins/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: 9.755703495815396]