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.001949/0.001949, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002282/0.002282, allocations: 219.7 kB / 22.26 MB, free: 5.125 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.698/1.698, allocations: 230.6 MB / 256 MB, free: 8.008 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.995/2.995, allocations: 476.7 MB / 0.7706 GB, free: 4.5 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.002181/0.002181, allocations: 68.7 kB / 1.118 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4126, allocations: 169.9 MB / 1.284 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003377/0.416, allocations: 1.456 MB / 1.285 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007829/0.4238, allocations: 4.297 MB / 1.29 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.543e-05/0.4239, allocations: 3.938 kB / 1.29 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.4241, allocations: 11.86 kB / 1.29 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.4244, allocations: 35.83 kB / 1.29 GB, free: 13.46 MB / 0.9981 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.005059/0.4294, allocations: 1.594 MB / 1.291 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.4296, allocations: 103.7 kB / 1.291 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.4297, allocations: 0 / 1.291 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.998e-05/0.4298, allocations: 47.84 kB / 1.291 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.4301, allocations: 151.6 kB / 1.291 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.262e-05/0.4301, allocations: 16 kB / 1.291 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004942/0.4351, allocations: 2.628 MB / 1.294 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.4353, allocations: 267.9 kB / 1.294 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003176/0.4357, allocations: 282.2 kB / 1.295 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004384/0.44, allocations: 2.15 MB / 1.297 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.4401, allocations: 7.984 kB / 1.297 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4401, allocations: 0 / 1.297 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.906e-05/0.4401, allocations: 0 / 1.297 GB, free: 6.223 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.01005/0.4501, allocations: 1.264 MB / 1.298 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4502, allocations: 12.03 kB / 1.298 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004739/0.4507, allocations: 96.2 kB / 1.298 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005529/0.4512, allocations: 303.2 kB / 1.298 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.4512, allocations: 4.375 kB / 1.298 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.74e-05/0.4513, allocations: 12.34 kB / 1.298 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.4518, allocations: 399.4 kB / 1.299 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4518, allocations: 4 kB / 1.299 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.4518, allocations: 4 kB / 1.299 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4518, allocations: 3.938 kB / 1.299 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004962/0.4523, allocations: 435.7 kB / 1.299 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000746/0.4531, allocations: 0.6089 MB / 1.3 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006337/0.4537, allocations: 0.5672 MB / 1.3 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/0.4541, allocations: 329.7 kB / 1.301 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007622/0.4548, allocations: 135.9 kB / 1.301 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004872/0.4553, allocations: 408.8 kB / 1.301 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 2.315e-06/0.4553, allocations: 0 / 1.301 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.001562/0.4569, allocations: 1.297 MB / 1.302 GB, free: 212 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.4569, allocations: 85.23 kB / 1.302 GB, free: 108 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.4583, allocations: 1.215 MB / 1.304 GB, free: 14.88 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.4584, allocations: 33.64 kB / 1.304 GB, free: 14.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.4586, allocations: 265.9 kB / 1.304 GB, free: 14.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.4587, allocations: 23.83 kB / 1.304 GB, free: 14.55 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003912/0.4591, allocations: 355.6 kB / 1.304 GB, free: 14.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4592, allocations: 314 kB / 1.305 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.4607, allocations: 1.373 MB / 1.306 GB, free: 12.51 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.4623, allocations: 1.504 MB / 1.307 GB, free: 11 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007856/0.4701, allocations: 3.56 MB / 1.311 GB, free: 7.344 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.4701, allocations: 0 / 1.311 GB, free: 7.344 MB / 1.014 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005195/0.4753, allocations: 4.015 MB / 1.315 GB, free: 3.293 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.4753, allocations: 4 kB / 1.315 GB, free: 3.289 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.4754, allocations: 7.984 kB / 1.315 GB, free: 3.281 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.4754, allocations: 0 / 1.315 GB, free: 3.281 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.4755, allocations: 12 kB / 1.315 GB, free: 3.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.4755, allocations: 4.062 kB / 1.315 GB, free: 3.266 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005511/0.4761, allocations: 245.3 kB / 1.315 GB, free: 3.023 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.079e-05/0.4762, allocations: 32.02 kB / 1.315 GB, free: 2.992 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.0003791/0.4765, allocations: 237.6 kB / 1.315 GB, free: 2.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.502e-05/0.4766, allocations: 75.28 kB / 1.315 GB, free: 2.676 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.4778, allocations: 0.936 MB / 1.316 GB, free: 1.723 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.4778, allocations: 0 / 1.316 GB, free: 1.723 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4778, allocations: 4.031 kB / 1.316 GB, free: 1.719 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4778, allocations: 0 / 1.316 GB, free: 1.719 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.4783, allocations: 472 kB / 1.317 GB, free: 1.219 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4783, allocations: 3.984 kB / 1.317 GB, free: 1.215 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.728e-05/0.4784, allocations: 7.938 kB / 1.317 GB, free: 1.207 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.4784, allocations: 4 kB / 1.317 GB, free: 1.203 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.4784, allocations: 7.984 kB / 1.317 GB, free: 1.195 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.4784, allocations: 0 / 1.317 GB, free: 1.195 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.4784, allocations: 4 kB / 1.317 GB, free: 1.191 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.4795, allocations: 1.006 MB / 1.318 GB, free: 168 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.4796, allocations: 87.22 kB / 1.318 GB, free: 80 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.911e-05/0.4797, allocations: 3.984 kB / 1.318 GB, free: 76 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.4798, allocations: 4 kB / 1.318 GB, free: 72 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.4799, allocations: 11.98 kB / 1.318 GB, free: 60 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.4799, allocations: 15.98 kB / 1.318 GB, free: 44 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000849/0.4807, allocations: 0.6729 MB / 1.318 GB, free: 15.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4807, allocations: 3.938 kB / 1.318 GB, free: 15.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001783/0.4825, allocations: 0.5845 MB / 1.319 GB, free: 14.77 MB / 1.029 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.002606/0.4851, allocations: 0.69 MB / 1.32 GB, free: 14.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002367/0.4875, allocations: 2 MB / 1.322 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4875, allocations: 0 / 1.322 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.4879, allocations: 339.7 kB / 1.322 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.4882, allocations: 38.73 kB / 1.322 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.4907, allocations: 1.774 MB / 1.324 GB, free: 9.898 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/0.4914, allocations: 0.9679 MB / 1.325 GB, free: 8.902 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001449/0.4915, allocations: 40.7 kB / 1.325 GB, free: 8.863 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.4916, allocations: 23.42 kB / 1.325 GB, free: 8.844 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.4916, allocations: 0 / 1.325 GB, free: 8.844 MB / 1.029 GB Notification: Performance of Templates: time 0.02998/0.5216, allocations: 13.8 MB / 1.338 GB, free: 11.09 MB / 1.045 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/jenkins/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: 10.882998012006283]