Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.001343/0.001343, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001518/0.001518, allocations: 213.9 kB / 23 MB, free: 4.969 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.402/3.402, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [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.003738/0.003738, allocations: 69.3 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4446, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003039/0.4476, allocations: 1.44 MB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007501/0.4551, allocations: 3.856 MB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.853e-05/0.4552, allocations: 3.938 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.4553, allocations: 15.92 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.4556, allocations: 39.77 kB / 1.332 GB, free: 11.55 MB / 1.029 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.004825/0.4605, allocations: 1.604 MB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.4606, allocations: 91.67 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.499e-05/0.4607, allocations: 8 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.797e-05/0.4608, allocations: 51.83 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.4611, allocations: 151.6 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.505e-05/0.4611, allocations: 12 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004564/0.4657, allocations: 2.55 MB / 1.337 GB, free: 7.086 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003288/0.466, allocations: 267.8 kB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002583/0.4662, allocations: 226.8 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003766/0.47, allocations: 2.15 MB / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.47, allocations: 0 / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.883e-06/0.47, allocations: 0 / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.47, allocations: 0 / 1.339 GB, free: 4.441 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.008852/0.4789, allocations: 1.268 MB / 1.341 GB, free: 3.137 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.4789, allocations: 8.031 kB / 1.341 GB, free: 3.129 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004772/0.4794, allocations: 100.2 kB / 1.341 GB, free: 3.031 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005286/0.4799, allocations: 303.2 kB / 1.341 GB, free: 2.699 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.48, allocations: 4.312 kB / 1.341 GB, free: 2.695 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.323e-05/0.48, allocations: 8.375 kB / 1.341 GB, free: 2.688 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/0.4806, allocations: 391.4 kB / 1.341 GB, free: 2.293 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.4806, allocations: 4 kB / 1.341 GB, free: 2.289 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.4806, allocations: 3.984 kB / 1.341 GB, free: 2.285 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4806, allocations: 0 / 1.341 GB, free: 2.285 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000557/0.4812, allocations: 435.8 kB / 1.342 GB, free: 1.859 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007032/0.4819, allocations: 0.5731 MB / 1.342 GB, free: 1.254 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006355/0.4825, allocations: 0.5632 MB / 1.343 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/0.4829, allocations: 333.7 kB / 1.343 GB, free: 348 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007659/0.4836, allocations: 135.9 kB / 1.343 GB, free: 212 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005094/0.4841, allocations: 404.8 kB / 1.344 GB, free: 15.79 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.4841, allocations: 0 / 1.344 GB, free: 15.79 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001701/0.4859, allocations: 1.297 MB / 1.345 GB, free: 14.49 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/0.4859, allocations: 85.09 kB / 1.345 GB, free: 14.39 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.4873, allocations: 1.223 MB / 1.346 GB, free: 13.15 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/0.4874, allocations: 25.7 kB / 1.346 GB, free: 13.12 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/0.4876, allocations: 265.9 kB / 1.347 GB, free: 12.85 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.4877, allocations: 23.83 kB / 1.347 GB, free: 12.83 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003794/0.488, allocations: 351.6 kB / 1.347 GB, free: 12.48 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4882, allocations: 310 kB / 1.347 GB, free: 12.17 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.4897, allocations: 1.373 MB / 1.349 GB, free: 10.8 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.4913, allocations: 1.497 MB / 1.35 GB, free: 9.289 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007973/0.4993, allocations: 3.568 MB / 1.353 GB, free: 5.629 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/0.4993, allocations: 4 kB / 1.353 GB, free: 5.625 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005313/0.5046, allocations: 4.001 MB / 1.357 GB, free: 1.59 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.5046, allocations: 8 kB / 1.357 GB, free: 1.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.5047, allocations: 7.922 kB / 1.357 GB, free: 1.574 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.5047, allocations: 7.938 kB / 1.357 GB, free: 1.566 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.5048, allocations: 16.03 kB / 1.357 GB, free: 1.551 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.5049, allocations: 0 / 1.357 GB, free: 1.551 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006197/0.5055, allocations: 249.3 kB / 1.358 GB, free: 1.305 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.199e-05/0.5055, allocations: 23.97 kB / 1.358 GB, free: 1.281 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003803/0.5059, allocations: 248.9 kB / 1.358 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/0.506, allocations: 67.34 kB / 1.358 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.5071, allocations: 0.9477 MB / 1.359 GB, free: 8 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.5071, allocations: 4 kB / 1.359 GB, free: 4 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5071, allocations: 0 / 1.359 GB, free: 4 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.5072, allocations: 87.47 kB / 1.359 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.196e-05/0.5073, allocations: 0 / 1.359 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.5074, allocations: 4 kB / 1.359 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.5075, allocations: 11.98 kB / 1.359 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001097/0.5086, allocations: 1.07 MB / 1.36 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001149/0.5097, allocations: 1.217 MB / 1.361 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003898/0.5101, allocations: 331.8 kB / 1.362 GB, free: 13.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008614/0.511, allocations: 0.6728 MB / 1.362 GB, free: 12.59 MB / 1.061 GB Notification: Performance of Backend: time 5.61e-07/0.511, allocations: 0 / 1.362 GB, free: 12.59 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004773/0.5157, allocations: 2.361 MB / 1.365 GB, free: 10.23 MB / 1.061 GB Notification: Performance of SimCode: time 0.002254/0.518, allocations: 1.755 MB / 1.366 GB, free: 8.41 MB / 1.061 GB Notification: Performance of Templates: time 0.02811/0.5461, allocations: 15.41 MB / 1.381 GB, free: 9.121 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.07482073000574]