Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00158/0.00158, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002181/0.002181, allocations: 213.3 kB / 22.24 MB, free: 5.242 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.711/1.711, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.617/3.617, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002246/0.002246, allocations: 71.72 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.4529, allocations: 181.9 MB / 1.364 GB, free: 13.69 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003358/0.4562, allocations: 1.447 MB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008015/0.4643, allocations: 3.838 MB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.617e-05/0.4643, allocations: 0 / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.4645, allocations: 11.86 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.4648, allocations: 35.83 kB / 1.369 GB, free: 8.328 MB / 1.061 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.00687/0.4717, allocations: 1.591 MB / 1.371 GB, free: 6.734 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.472, allocations: 95.67 kB / 1.371 GB, free: 6.641 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.965e-05/0.4721, allocations: 3.984 kB / 1.371 GB, free: 6.637 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.4723, allocations: 51.78 kB / 1.371 GB, free: 6.586 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005261/0.4728, allocations: 151.6 kB / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.487e-05/0.4729, allocations: 16 kB / 1.371 GB, free: 6.422 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006837/0.4797, allocations: 2.39 MB / 1.373 GB, free: 4.027 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003257/0.48, allocations: 267.8 kB / 1.374 GB, free: 3.762 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002861/0.4803, allocations: 218.9 kB / 1.374 GB, free: 3.547 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005473/0.4858, allocations: 2.142 MB / 1.376 GB, free: 1.398 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4858, allocations: 0 / 1.376 GB, free: 1.398 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4858, allocations: 0 / 1.376 GB, free: 1.398 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.813e-05/0.4858, allocations: 0 / 1.376 GB, free: 1.398 MB / 1.061 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.01099/0.4968, allocations: 1.268 MB / 1.377 GB, free: 96 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.4969, allocations: 8.031 kB / 1.377 GB, free: 88 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005454/0.4974, allocations: 107.6 kB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/0.498, allocations: 303.2 kB / 1.378 GB, free: 15.65 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.498, allocations: 8.375 kB / 1.378 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.498, allocations: 4.375 kB / 1.378 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000552/0.4986, allocations: 388.1 kB / 1.378 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4986, allocations: 4 kB / 1.378 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.4986, allocations: 3.938 kB / 1.378 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.4986, allocations: 3.984 kB / 1.378 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/0.4992, allocations: 439.7 kB / 1.378 GB, free: 14.8 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007558/0.4999, allocations: 0.577 MB / 1.379 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006616/0.5006, allocations: 0.5556 MB / 1.379 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003917/0.501, allocations: 333.6 kB / 1.38 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007995/0.5018, allocations: 139.7 kB / 1.38 GB, free: 13.15 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005245/0.5023, allocations: 408.9 kB / 1.38 GB, free: 12.73 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 2.154e-06/0.5023, allocations: 0 / 1.38 GB, free: 12.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.001721/0.504, allocations: 1.293 MB / 1.382 GB, free: 11.43 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.5041, allocations: 85.09 kB / 1.382 GB, free: 11.33 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.5057, allocations: 1.215 MB / 1.383 GB, free: 10.1 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/0.5058, allocations: 29.7 kB / 1.383 GB, free: 10.07 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.506, allocations: 274 kB / 1.383 GB, free: 9.793 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.645e-05/0.5061, allocations: 19.84 kB / 1.383 GB, free: 9.773 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004029/0.5065, allocations: 351.6 kB / 1.383 GB, free: 9.426 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.5067, allocations: 314 kB / 1.384 GB, free: 9.113 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/0.5083, allocations: 1.373 MB / 1.385 GB, free: 7.738 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/0.5101, allocations: 1.505 MB / 1.387 GB, free: 6.223 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008039/0.5181, allocations: 3.557 MB / 1.39 GB, free: 2.574 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.5181, allocations: 4 kB / 1.39 GB, free: 2.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005384/0.5235, allocations: 4.003 MB / 1.394 GB, free: 14.53 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.5235, allocations: 8 kB / 1.394 GB, free: 14.52 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.5236, allocations: 4 kB / 1.394 GB, free: 14.52 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.5236, allocations: 7.938 kB / 1.394 GB, free: 14.51 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.5237, allocations: 15.98 kB / 1.394 GB, free: 14.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.5238, allocations: 4.031 kB / 1.394 GB, free: 14.49 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006232/0.5244, allocations: 241.3 kB / 1.394 GB, free: 14.25 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/0.5244, allocations: 19.98 kB / 1.394 GB, free: 14.23 MB / 1.092 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.0004052/0.5248, allocations: 249.6 kB / 1.394 GB, free: 13.98 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.5249, allocations: 71.33 kB / 1.395 GB, free: 13.91 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.5262, allocations: 0.9402 MB / 1.395 GB, free: 12.96 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.5262, allocations: 3.938 kB / 1.395 GB, free: 12.96 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.5262, allocations: 8.031 kB / 1.395 GB, free: 12.95 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5262, allocations: 0 / 1.395 GB, free: 12.95 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005616/0.5268, allocations: 443.3 kB / 1.396 GB, free: 12.49 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.5268, allocations: 0 / 1.396 GB, free: 12.49 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.973e-05/0.5268, allocations: 8 kB / 1.396 GB, free: 12.48 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.5268, allocations: 0 / 1.396 GB, free: 12.48 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.5269, allocations: 7.984 kB / 1.396 GB, free: 12.47 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.5269, allocations: 4 kB / 1.396 GB, free: 12.47 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5269, allocations: 4.016 kB / 1.396 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.528, allocations: 1.014 MB / 1.397 GB, free: 11.43 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.5282, allocations: 83.33 kB / 1.397 GB, free: 11.35 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.5282, allocations: 0 / 1.397 GB, free: 11.35 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.5284, allocations: 4 kB / 1.397 GB, free: 11.34 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.5284, allocations: 15.92 kB / 1.397 GB, free: 11.33 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.5285, allocations: 11.98 kB / 1.397 GB, free: 11.32 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009528/0.5294, allocations: 0.6728 MB / 1.398 GB, free: 10.64 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5294, allocations: 0 / 1.398 GB, free: 10.64 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001925/0.5313, allocations: 0.5884 MB / 1.398 GB, free: 10.05 MB / 1.092 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.00268/0.534, allocations: 0.6902 MB / 1.399 GB, free: 9.367 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002401/0.5364, allocations: 1.999 MB / 1.401 GB, free: 7.355 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5364, allocations: 0 / 1.401 GB, free: 7.355 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004012/0.5368, allocations: 343.8 kB / 1.401 GB, free: 7.02 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.5372, allocations: 38.16 kB / 1.401 GB, free: 6.98 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.5397, allocations: 1.774 MB / 1.403 GB, free: 5.168 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.5401, allocations: 376.1 kB / 1.403 GB, free: 4.777 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.5402, allocations: 36.47 kB / 1.403 GB, free: 4.742 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.5404, allocations: 31.41 kB / 1.403 GB, free: 4.711 MB / 1.092 GB Notification: Performance of SimCode: time 1.362e-06/0.5404, allocations: 0 / 1.403 GB, free: 4.711 MB / 1.092 GB Notification: Performance of Templates: time 0.02771/0.5681, allocations: 14.94 MB / 1.418 GB, free: 5.891 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.421987364068627]