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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 195.2 kB / 22.11 MB, free: 5.152 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.299/3.299, allocations: 495.8 MB / 0.783 GB, free: 33.68 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 65.36 kB / 1.137 GB, free: 33.79 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4058, allocations: 173.6 MB / 1.307 GB, free: 1.816 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003134/0.4089, allocations: 1.457 MB / 1.308 GB, free: 356 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.007774/0.4167, allocations: 4.284 MB / 1.312 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.544e-05/0.4168, allocations: 3.938 kB / 1.312 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.4169, allocations: 7.922 kB / 1.312 GB, free: 12.03 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.4172, allocations: 35.77 kB / 1.312 GB, free: 12 MB / 1.014 GB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.005088/0.4222, allocations: 1.601 MB / 1.314 GB, free: 10.39 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002268/0.4225, allocations: 99.61 kB / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.4225, allocations: 4 kB / 1.314 GB, free: 10.29 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.4227, allocations: 47.89 kB / 1.314 GB, free: 10.25 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.4229, allocations: 155.6 kB / 1.314 GB, free: 10.09 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.803e-05/0.423, allocations: 12 kB / 1.314 GB, free: 10.08 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.005051/0.428, allocations: 2.535 MB / 1.317 GB, free: 7.543 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.000272/0.4283, allocations: 271.8 kB / 1.317 GB, free: 7.273 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003168/0.4286, allocations: 282.3 kB / 1.317 GB, free: 6.996 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.00434/0.433, allocations: 2.128 MB / 1.319 GB, free: 4.863 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.433, allocations: 4 kB / 1.319 GB, free: 4.859 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.304e-06/0.433, allocations: 0 / 1.319 GB, free: 4.859 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 9.417e-06/0.433, allocations: 0 / 1.319 GB, free: 4.859 MB / 1.014 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.008141/0.4411, allocations: 1.268 MB / 1.321 GB, free: 3.555 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.4412, allocations: 8.922 kB / 1.321 GB, free: 3.547 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004084/0.4416, allocations: 92.25 kB / 1.321 GB, free: 3.457 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004833/0.4421, allocations: 303.2 kB / 1.321 GB, free: 3.125 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.4421, allocations: 4.375 kB / 1.321 GB, free: 3.121 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.4421, allocations: 8.359 kB / 1.321 GB, free: 3.113 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004905/0.4426, allocations: 399.4 kB / 1.321 GB, free: 2.711 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.4426, allocations: 0 / 1.321 GB, free: 2.711 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.4426, allocations: 4 kB / 1.321 GB, free: 2.707 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.4426, allocations: 4 kB / 1.321 GB, free: 2.703 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.4431, allocations: 431.7 kB / 1.322 GB, free: 2.281 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006502/0.4438, allocations: 0.6128 MB / 1.322 GB, free: 1.625 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.4443, allocations: 0.5632 MB / 1.323 GB, free: 1.043 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.4447, allocations: 333.7 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0007028/0.4454, allocations: 135.9 kB / 1.323 GB, free: 0.5781 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004734/0.4458, allocations: 412.7 kB / 1.324 GB, free: 160 kB / 1.014 GB
Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.4458, allocations: 0 / 1.324 GB, free: 160 kB / 1.014 GB
Notification: Performance of matching and sorting (n=8): time 0.001485/0.4473, allocations: 1.293 MB / 1.325 GB, free: 14.86 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.4474, allocations: 85.09 kB / 1.325 GB, free: 14.75 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.4487, allocations: 1.223 MB / 1.326 GB, free: 13.52 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.4487, allocations: 25.7 kB / 1.326 GB, free: 13.48 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.449, allocations: 269.9 kB / 1.327 GB, free: 13.21 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.449, allocations: 23.8 kB / 1.327 GB, free: 13.19 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003567/0.4494, allocations: 359.7 kB / 1.327 GB, free: 12.84 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0001358/0.4495, allocations: 310 kB / 1.327 GB, free: 12.53 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.451, allocations: 1.369 MB / 1.329 GB, free: 11.16 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.4525, allocations: 1.501 MB / 1.33 GB, free: 9.645 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.007402/0.4599, allocations: 3.568 MB / 1.334 GB, free: 5.984 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4599, allocations: 0 / 1.334 GB, free: 5.984 MB / 1.029 GB
Notification: Performance of matching and sorting (n=319) (initialization): time 0.004756/0.4647, allocations: 3.999 MB / 1.338 GB, free: 1.949 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.4647, allocations: 11.92 kB / 1.338 GB, free: 1.938 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.4647, allocations: 4 kB / 1.338 GB, free: 1.934 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.4647, allocations: 0 / 1.338 GB, free: 1.934 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.4648, allocations: 15.94 kB / 1.338 GB, free: 1.918 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.4648, allocations: 12.02 kB / 1.338 GB, free: 1.906 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004886/0.4653, allocations: 241.3 kB / 1.338 GB, free: 1.668 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/0.4654, allocations: 23.98 kB / 1.338 GB, free: 1.645 MB / 1.029 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.0003551/0.4657, allocations: 237.6 kB / 1.338 GB, free: 1.402 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.987e-05/0.4658, allocations: 79.23 kB / 1.338 GB, free: 1.324 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.4669, allocations: 0.9399 MB / 1.339 GB, free: 384 kB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.4669, allocations: 4 kB / 1.339 GB, free: 380 kB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4669, allocations: 0 / 1.339 GB, free: 380 kB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4669, allocations: 3.984 kB / 1.339 GB, free: 376 kB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.4674, allocations: 479.8 kB / 1.34 GB, free: 15.86 MB / 1.045 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4674, allocations: 3.938 kB / 1.34 GB, free: 15.86 MB / 1.045 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.359e-05/0.4675, allocations: 7.938 kB / 1.34 GB, free: 15.85 MB / 1.045 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4675, allocations: 0 / 1.34 GB, free: 15.85 MB / 1.045 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.4675, allocations: 7.984 kB / 1.34 GB, free: 15.84 MB / 1.045 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4675, allocations: 0 / 1.34 GB, free: 15.84 MB / 1.045 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4675, allocations: 4.031 kB / 1.34 GB, free: 15.84 MB / 1.045 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.4685, allocations: 0.998 MB / 1.34 GB, free: 14.82 MB / 1.045 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.945e-05/0.4686, allocations: 83.23 kB / 1.341 GB, free: 14.73 MB / 1.045 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.4686, allocations: 7.984 kB / 1.341 GB, free: 14.73 MB / 1.045 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.4688, allocations: 4 kB / 1.341 GB, free: 14.72 MB / 1.045 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.4688, allocations: 15.92 kB / 1.341 GB, free: 14.71 MB / 1.045 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.4688, allocations: 15.98 kB / 1.341 GB, free: 14.69 MB / 1.045 GB
Notification: Performance of sorting global known variables: time 0.0008005/0.4696, allocations: 0.6728 MB / 1.341 GB, free: 14.01 MB / 1.045 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.4696, allocations: 0 / 1.341 GB, free: 14.01 MB / 1.045 GB
Notification: Performance of remove unused functions: time 0.00177/0.4714, allocations: 0.5806 MB / 1.342 GB, free: 13.43 MB / 1.045 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.001828/0.4732, allocations: 0.7046 MB / 1.343 GB, free: 12.74 MB / 1.045 GB
Notification: Performance of simCode: created initialization part: time 0.002224/0.4755, allocations: 1.993 MB / 1.344 GB, free: 10.73 MB / 1.045 GB
Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4755, allocations: 0 / 1.344 GB, free: 10.73 MB / 1.045 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003623/0.4758, allocations: 339.8 kB / 1.345 GB, free: 10.4 MB / 1.045 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.4761, allocations: 40.48 kB / 1.345 GB, free: 10.36 MB / 1.045 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.4784, allocations: 1.778 MB / 1.347 GB, free: 8.539 MB / 1.045 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000614/0.479, allocations: 0.964 MB / 1.348 GB, free: 7.551 MB / 1.045 GB
Notification: Performance of simCode: alias equations: time 0.0001258/0.4791, allocations: 36.48 kB / 1.348 GB, free: 7.516 MB / 1.045 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.605e-05/0.4792, allocations: 23.42 kB / 1.348 GB, free: 7.492 MB / 1.045 GB
Notification: Performance of SimCode: time 6.41e-07/0.4792, allocations: 0 / 1.348 GB, free: 7.492 MB / 1.045 GB
Notification: Performance of Templates: time 0.0248/0.504, allocations: 13.82 MB / 1.361 GB, free: 9.723 MB / 1.061 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/jenkins/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: 10.66813426464796]