Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001885/0.001885, allocations: 102.3 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.002706/0.002706, allocations: 217.8 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.828/2.828, allocations: 476.8 MB / 0.7714 GB, free: 4.312 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.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_11_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_11_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.002055/0.002055, allocations: 66.31 kB / 1.119 GB, free: 40.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3679, allocations: 170 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002842/0.3707, allocations: 1.465 MB / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007264/0.378, allocations: 4.282 MB / 1.29 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.413e-05/0.3781, allocations: 3.938 kB / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.3782, allocations: 11.86 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.3785, allocations: 27.84 kB / 1.29 GB, free: 5.367 MB / 0.9825 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.004571/0.3831, allocations: 1.613 MB / 1.292 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000181/0.3833, allocations: 95.73 kB / 1.292 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.3833, allocations: 0 / 1.292 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.249e-05/0.3834, allocations: 51.78 kB / 1.292 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.3837, allocations: 147.6 kB / 1.292 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.3837, allocations: 16 kB / 1.292 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004582/0.3883, allocations: 2.628 MB / 1.295 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.3885, allocations: 275.8 kB / 1.295 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.3888, allocations: 270.3 kB / 1.295 GB, free: 288 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003682/0.3925, allocations: 2.161 MB / 1.297 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3925, allocations: 0 / 1.297 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3925, allocations: 0 / 1.297 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.3925, allocations: 0 / 1.297 GB, free: 14.11 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.008863/0.4014, allocations: 1.268 MB / 1.299 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.4014, allocations: 12.03 kB / 1.299 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004522/0.4019, allocations: 96.23 kB / 1.299 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/0.4024, allocations: 311.1 kB / 1.299 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.4024, allocations: 4.375 kB / 1.299 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.4024, allocations: 4.375 kB / 1.299 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/0.4029, allocations: 391.5 kB / 1.299 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.4029, allocations: 3.984 kB / 1.299 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.4029, allocations: 15.98 kB / 1.299 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.403, allocations: 0 / 1.299 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.4034, allocations: 435.7 kB / 1.3 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007175/0.4041, allocations: 0.6127 MB / 1.3 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005787/0.4047, allocations: 0.5594 MB / 1.301 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/0.4051, allocations: 329.7 kB / 1.301 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000734/0.4058, allocations: 135.8 kB / 1.301 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004647/0.4063, allocations: 416.8 kB / 1.302 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.4063, allocations: 0 / 1.302 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001488/0.4078, allocations: 1.293 MB / 1.303 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.4078, allocations: 89.22 kB / 1.303 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.4091, allocations: 1.211 MB / 1.304 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.4092, allocations: 29.7 kB / 1.304 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.4094, allocations: 269.9 kB / 1.305 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.4094, allocations: 19.89 kB / 1.305 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003657/0.4098, allocations: 355.6 kB / 1.305 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.41, allocations: 310 kB / 1.305 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.4115, allocations: 1.373 MB / 1.307 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.4131, allocations: 1.513 MB / 1.308 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007527/0.4206, allocations: 3.556 MB / 1.312 GB, free: 15.23 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.4206, allocations: 0 / 1.312 GB, free: 15.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004847/0.4255, allocations: 4.019 MB / 1.316 GB, free: 11.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.4255, allocations: 4 kB / 1.316 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.4255, allocations: 4.312 kB / 1.316 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.4255, allocations: 0 / 1.316 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.4257, allocations: 15.98 kB / 1.316 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.4257, allocations: 4 kB / 1.316 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/0.4262, allocations: 233.4 kB / 1.316 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.085e-05/0.4263, allocations: 31.97 kB / 1.316 GB, free: 10.89 MB / 1.014 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.0003372/0.4266, allocations: 245.6 kB / 1.316 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-05/0.4267, allocations: 75.28 kB / 1.316 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.4278, allocations: 0.936 MB / 1.317 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.4278, allocations: 0 / 1.317 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4278, allocations: 0 / 1.317 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.4278, allocations: 32 / 1.317 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.4283, allocations: 479.9 kB / 1.317 GB, free: 9.105 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4283, allocations: 0 / 1.317 GB, free: 9.105 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.295e-05/0.4284, allocations: 11.92 kB / 1.318 GB, free: 9.094 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4284, allocations: 4 kB / 1.318 GB, free: 9.09 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.4284, allocations: 4 kB / 1.318 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4284, allocations: 0 / 1.318 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4284, allocations: 4 kB / 1.318 GB, free: 9.082 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.4294, allocations: 1.002 MB / 1.318 GB, free: 8.059 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.4295, allocations: 87.22 kB / 1.319 GB, free: 7.973 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.902e-05/0.4296, allocations: 7.938 kB / 1.319 GB, free: 7.965 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.4297, allocations: 7.984 kB / 1.319 GB, free: 7.957 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.4298, allocations: 8 kB / 1.319 GB, free: 7.949 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.4298, allocations: 15.97 kB / 1.319 GB, free: 7.934 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007879/0.4306, allocations: 0.6728 MB / 1.319 GB, free: 7.254 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4306, allocations: 0 / 1.319 GB, free: 7.254 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001771/0.4324, allocations: 0.5923 MB / 1.32 GB, free: 6.66 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001843/0.4342, allocations: 0.6907 MB / 1.321 GB, free: 5.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002252/0.4364, allocations: 2.001 MB / 1.322 GB, free: 3.965 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4365, allocations: 4 kB / 1.322 GB, free: 3.961 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000367/0.4368, allocations: 335.7 kB / 1.323 GB, free: 3.633 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.4371, allocations: 40.53 kB / 1.323 GB, free: 3.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.4395, allocations: 1.811 MB / 1.325 GB, free: 1.738 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006362/0.4402, allocations: 0.964 MB / 1.326 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.4403, allocations: 27.42 kB / 1.326 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/0.4403, allocations: 0 / 1.326 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of Templates: time 0.0254/0.4657, allocations: 13.98 MB / 1.339 GB, free: 2.754 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.012351215002127]