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.001412/0.001412, allocations: 108.3 kB / 19.7 MB, free: 2.16 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.001569/0.001569, allocations: 215.9 kB / 22.99 MB, free: 4.988 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.681/1.681, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.33/3.33, allocations: 0.49 GB / 0.7959 GB, free: 35.34 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.002165/0.002165, allocations: 72.39 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4448/0.447, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003894/0.4509, allocations: 1.933 MB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002638/0.4535, allocations: 1.564 MB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.4539, allocations: 12 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.454, allocations: 59.2 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.4543, allocations: 95.09 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008645/0.4552, allocations: 311.8 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007082/0.4559, allocations: 0.637 MB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004698/0.4563, allocations: 266.4 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000285/0.4566, allocations: 239.2 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.4569, allocations: 254.8 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.372e-05/0.457, allocations: 72 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.4572, allocations: 91.97 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.4573, allocations: 135.5 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.4576, allocations: 230.9 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009536/0.4585, allocations: 0.8131 MB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4585, allocations: 0 / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4585, allocations: 0 / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.4585, allocations: 0 / 1.334 GB, free: 10.29 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.001352/0.4599, allocations: 0.7563 MB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.4599, allocations: 16.02 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.4602, allocations: 64.56 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.4607, allocations: 298 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/0.4607, allocations: 45.69 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.31e-05/0.4608, allocations: 56.38 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009237/0.4617, allocations: 0.5033 MB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.4617, allocations: 4.125 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.665e-05/0.4618, allocations: 31.88 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.4618, allocations: 16 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007253/0.4625, allocations: 361.1 kB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.465, allocations: 1.136 MB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00078/0.4657, allocations: 265.4 kB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005942/0.4663, allocations: 175.9 kB / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.4664, allocations: 7.984 kB / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006142/0.467, allocations: 191 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 2.444e-06/0.467, allocations: 0 / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.001237/0.4682, allocations: 395 kB / 1.338 GB, free: 5.836 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.4683, allocations: 81.11 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/0.4688, allocations: 277.8 kB / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.251e-05/0.4688, allocations: 37.7 kB / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.4691, allocations: 284.7 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.4693, allocations: 119 kB / 1.339 GB, free: 5.016 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.4695, allocations: 86.08 kB / 1.339 GB, free: 4.926 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002271/0.4697, allocations: 338.8 kB / 1.339 GB, free: 4.586 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005902/0.4703, allocations: 178.5 kB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000541/0.4709, allocations: 236.9 kB / 1.339 GB, free: 4.145 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009561/0.4718, allocations: 344.3 kB / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.4718, allocations: 7.938 kB / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001339/0.4732, allocations: 496.3 kB / 1.34 GB, free: 3.273 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/0.4732, allocations: 41.69 kB / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.4733, allocations: 4 kB / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.142e-05/0.4733, allocations: 4 kB / 1.34 GB, free: 3.219 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004954/0.4738, allocations: 80.03 kB / 1.34 GB, free: 3.141 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.4738, allocations: 8 kB / 1.34 GB, free: 3.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005746/0.4744, allocations: 63.62 kB / 1.34 GB, free: 3.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/0.4744, allocations: 20 kB / 1.34 GB, free: 3.051 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.0003278/0.4748, allocations: 182.2 kB / 1.341 GB, free: 2.863 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/0.4748, allocations: 27.81 kB / 1.341 GB, free: 2.836 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009516/0.4758, allocations: 313.4 kB / 1.341 GB, free: 2.523 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.4758, allocations: 7.984 kB / 1.341 GB, free: 2.516 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.4758, allocations: 0 / 1.341 GB, free: 2.516 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.4758, allocations: 7.938 kB / 1.341 GB, free: 2.508 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.4774, allocations: 0.8164 MB / 1.342 GB, free: 1.637 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.4774, allocations: 4 kB / 1.342 GB, free: 1.633 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.4778, allocations: 64.03 kB / 1.342 GB, free: 1.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/0.4778, allocations: 4 kB / 1.342 GB, free: 1.566 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.4778, allocations: 11.98 kB / 1.342 GB, free: 1.555 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.4778, allocations: 7.938 kB / 1.342 GB, free: 1.547 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4778, allocations: 0 / 1.342 GB, free: 1.547 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009558/0.4788, allocations: 0.4978 MB / 1.342 GB, free: 1.012 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-05/0.4789, allocations: 39.69 kB / 1.342 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.671e-05/0.4789, allocations: 8 kB / 1.342 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.4793, allocations: 19.98 kB / 1.342 GB, free: 0.9453 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.421e-05/0.4794, allocations: 27.89 kB / 1.342 GB, free: 0.918 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.009e-05/0.4794, allocations: 16 kB / 1.342 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002881/0.4797, allocations: 193.2 kB / 1.343 GB, free: 0.7188 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4797, allocations: 4 kB / 1.343 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008327/0.4805, allocations: 119.6 kB / 1.343 GB, free: 0.5977 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.0002249/0.4808, allocations: 111.1 kB / 1.343 GB, free: 492 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.4818, allocations: 400.7 kB / 1.343 GB, free: 72 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4818, allocations: 0 / 1.343 GB, free: 72 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.4822, allocations: 131.2 kB / 1.343 GB, free: 15.95 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000896/0.4831, allocations: 58.28 kB / 1.343 GB, free: 15.89 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.485, allocations: 0.7424 MB / 1.344 GB, free: 15.1 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.4854, allocations: 220 kB / 1.344 GB, free: 14.85 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002102/0.4856, allocations: 30.97 kB / 1.344 GB, free: 14.82 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.4857, allocations: 27.42 kB / 1.344 GB, free: 14.79 MB / 1.045 GB Notification: Performance of SimCode: time 9.62e-07/0.4857, allocations: 4 kB / 1.344 GB, free: 14.79 MB / 1.045 GB Notification: Performance of Templates: time 0.0132/0.4989, allocations: 3.932 MB / 1.348 GB, free: 10.93 MB / 1.045 GB " [Timeout remaining time 299] 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 cvode -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.708992380998097]