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_SmallScaleValidation.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.001798/0.001798, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002308/0.002308, allocations: 207 kB / 22.99 MB, free: 4.957 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.313/3.313, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [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.002139/0.002139, allocations: 72.38 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.43, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003659/0.4337, allocations: 1.726 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008785/0.4424, allocations: 4.903 MB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.4426, allocations: 3.938 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.4439, allocations: 334.5 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.4441, allocations: 67.67 kB / 1.334 GB, free: 9.93 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.004866/0.449, allocations: 1.608 MB / 1.336 GB, free: 8.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000368/0.4493, allocations: 167.3 kB / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.505e-05/0.4494, allocations: 9.734 kB / 1.336 GB, free: 8.145 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.58e-05/0.4495, allocations: 59.78 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003454/0.4499, allocations: 167.5 kB / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.4499, allocations: 16 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004813/0.4547, allocations: 2.55 MB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.455, allocations: 275.8 kB / 1.339 GB, free: 5.082 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002868/0.4553, allocations: 246.6 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004028/0.4593, allocations: 2.224 MB / 1.341 GB, free: 2.609 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4593, allocations: 0 / 1.341 GB, free: 2.609 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4593, allocations: 0 / 1.341 GB, free: 2.609 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.4594, allocations: 0 / 1.341 GB, free: 2.609 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.008941/0.4683, allocations: 1.338 MB / 1.342 GB, free: 1.234 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.4683, allocations: 8.031 kB / 1.342 GB, free: 1.227 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005398/0.4689, allocations: 108.1 kB / 1.343 GB, free: 1.121 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006958/0.4696, allocations: 344.6 kB / 1.343 GB, free: 0.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.4696, allocations: 4.375 kB / 1.343 GB, free: 0.7461 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.4697, allocations: 8.375 kB / 1.343 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.4702, allocations: 395.4 kB / 1.343 GB, free: 348 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4702, allocations: 3.938 kB / 1.343 GB, free: 344 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.4702, allocations: 0 / 1.343 GB, free: 344 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.4702, allocations: 4 kB / 1.343 GB, free: 340 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006688/0.4709, allocations: 435.7 kB / 1.344 GB, free: 15.91 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007681/0.4716, allocations: 0.5975 MB / 1.344 GB, free: 15.28 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006317/0.4723, allocations: 0.5632 MB / 1.345 GB, free: 14.7 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.4726, allocations: 333.7 kB / 1.345 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006803/0.4733, allocations: 135.9 kB / 1.345 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000482/0.4738, allocations: 412.8 kB / 1.346 GB, free: 13.81 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.4738, allocations: 0 / 1.346 GB, free: 13.81 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.00189/0.4757, allocations: 1.305 MB / 1.347 GB, free: 12.5 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.4758, allocations: 77.11 kB / 1.347 GB, free: 12.4 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.4775, allocations: 1.302 MB / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.4776, allocations: 25.7 kB / 1.348 GB, free: 11.06 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.4779, allocations: 289.9 kB / 1.349 GB, free: 10.77 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.4779, allocations: 31.77 kB / 1.349 GB, free: 10.74 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000401/0.4783, allocations: 351.6 kB / 1.349 GB, free: 10.39 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4785, allocations: 318 kB / 1.349 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/0.48, allocations: 1.369 MB / 1.351 GB, free: 8.703 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/0.4817, allocations: 1.509 MB / 1.352 GB, free: 7.184 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008085/0.4898, allocations: 3.56 MB / 1.356 GB, free: 3.531 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.4898, allocations: 0 / 1.356 GB, free: 3.531 MB / 1.045 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005136/0.495, allocations: 4.007 MB / 1.359 GB, free: 15.49 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.495, allocations: 7.938 kB / 1.359 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.495, allocations: 7.969 kB / 1.359 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.495, allocations: 4 kB / 1.359 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.4952, allocations: 15.98 kB / 1.36 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.4952, allocations: 0 / 1.36 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005641/0.4958, allocations: 245.3 kB / 1.36 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.929e-05/0.4958, allocations: 23.92 kB / 1.36 GB, free: 15.19 MB / 1.061 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.0003828/0.4962, allocations: 254.1 kB / 1.36 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.467e-05/0.4963, allocations: 79.23 kB / 1.36 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.4975, allocations: 0.9524 MB / 1.361 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4975, allocations: 0 / 1.361 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4975, allocations: 3.938 kB / 1.361 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4975, allocations: 0 / 1.361 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.4981, allocations: 472.3 kB / 1.361 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4981, allocations: 3.938 kB / 1.361 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-05/0.4982, allocations: 4 kB / 1.361 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/0.4982, allocations: 4 kB / 1.361 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.4982, allocations: 11.95 kB / 1.361 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4982, allocations: 0 / 1.361 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.4982, allocations: 0 / 1.361 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.4994, allocations: 1.014 MB / 1.362 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.4995, allocations: 87.28 kB / 1.363 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.984e-05/0.4996, allocations: 7.938 kB / 1.363 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.4997, allocations: 0 / 1.363 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.4998, allocations: 15.92 kB / 1.363 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.4998, allocations: 15.98 kB / 1.363 GB, free: 12.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009081/0.5007, allocations: 0.7261 MB / 1.363 GB, free: 11.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.5007, allocations: 0 / 1.363 GB, free: 11.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001868/0.5026, allocations: 0.5845 MB / 1.364 GB, free: 10.9 MB / 1.061 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.002164/0.5048, allocations: 0.7108 MB / 1.365 GB, free: 10.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002447/0.5072, allocations: 1.997 MB / 1.367 GB, free: 8.188 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5072, allocations: 4 kB / 1.367 GB, free: 8.184 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003932/0.5076, allocations: 335.7 kB / 1.367 GB, free: 7.855 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.5081, allocations: 60.34 kB / 1.367 GB, free: 7.797 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.5108, allocations: 1.9 MB / 1.369 GB, free: 5.859 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.5112, allocations: 393.7 kB / 1.369 GB, free: 5.449 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001825/0.5114, allocations: 49.39 kB / 1.369 GB, free: 5.398 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.5115, allocations: 31.34 kB / 1.369 GB, free: 5.367 MB / 1.061 GB Notification: Performance of SimCode: time 1.492e-06/0.5115, allocations: 0 / 1.369 GB, free: 5.367 MB / 1.061 GB Notification: Performance of Templates: time 0.02805/0.5396, allocations: 15.77 MB / 1.385 GB, free: 5.738 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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.85383843499585]