Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.002042/0.002042, allocations: 106 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.002884/0.002884, allocations: 190.3 kB / 22.1 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.09 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.272/3.272, allocations: 495.8 MB / 0.783 GB, free: 33.53 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.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction")
translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 73.95 kB / 1.137 GB, free: 33.9 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4044, allocations: 173.6 MB / 1.307 GB, free: 1.883 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001908/0.4063, allocations: 0.5814 MB / 1.307 GB, free: 1.305 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.00153/0.4079, allocations: 1.007 MB / 1.308 GB, free: 288 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.4079, allocations: 0 / 1.308 GB, free: 288 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.4079, allocations: 0 / 1.308 GB, free: 288 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 0.0007955/0.4087, allocations: 103.8 kB / 1.308 GB, free: 184 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 4.425e-05/0.4087, allocations: 19.86 kB / 1.308 GB, free: 164 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 5.561e-05/0.4088, allocations: 4 kB / 1.308 GB, free: 160 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.4088, allocations: 3.938 kB / 1.308 GB, free: 156 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.182e-05/0.4089, allocations: 4 kB / 1.308 GB, free: 152 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.4091, allocations: 33.73 kB / 1.309 GB, free: 120 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.4091, allocations: 0 / 1.309 GB, free: 120 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.4093, allocations: 91.89 kB / 1.309 GB, free: 28 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.4093, allocations: 0 / 1.309 GB, free: 28 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 2.252e-05/0.4093, allocations: 7.938 kB / 1.309 GB, free: 20 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.4096, allocations: 75.8 kB / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4096, allocations: 0 / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.374e-06/0.4096, allocations: 0 / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.881e-06/0.4096, allocations: 0 / 1.309 GB, free: 15.95 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: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.0003895/0.41, allocations: 258.2 kB / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.41, allocations: 12.03 kB / 1.309 GB, free: 15.65 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.41, allocations: 4.938 kB / 1.309 GB, free: 15.65 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.4101, allocations: 106.5 kB / 1.309 GB, free: 15.52 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.4102, allocations: 384 / 1.309 GB, free: 15.52 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.4102, allocations: 4.375 kB / 1.309 GB, free: 15.52 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.4103, allocations: 29.83 kB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.4103, allocations: 0 / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.4103, allocations: 7.938 kB / 1.309 GB, free: 15.47 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.4103, allocations: 0 / 1.309 GB, free: 15.47 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.551e-05/0.4103, allocations: 7.922 kB / 1.309 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.4108, allocations: 358.6 kB / 1.309 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.4109, allocations: 173.1 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.454e-05/0.4109, allocations: 80.14 kB / 1.31 GB, free: 14.81 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.123e-05/0.411, allocations: 75.28 kB / 1.31 GB, free: 14.73 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.045e-05/0.411, allocations: 109.8 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.411, allocations: 0 / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 8.021e-05/0.4111, allocations: 33.64 kB / 1.31 GB, free: 14.58 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/0.4112, allocations: 126.7 kB / 1.31 GB, free: 14.44 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.4113, allocations: 105.8 kB / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.4113, allocations: 29.7 kB / 1.31 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.4114, allocations: 80.14 kB / 1.31 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.4114, allocations: 0 / 1.31 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.4114, allocations: 9.719 kB / 1.31 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001539/0.4116, allocations: 326.8 kB / 1.311 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.4116, allocations: 0 / 1.311 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.829e-06/0.4116, allocations: 3.984 kB / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.026e-05/0.4116, allocations: 8.859 kB / 1.311 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4116, allocations: 3.938 kB / 1.311 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001161/0.4117, allocations: 29.7 kB / 1.311 GB, free: 13.81 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4118, allocations: 8 kB / 1.311 GB, free: 13.8 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4118, allocations: 3.938 kB / 1.311 GB, free: 13.8 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.4118, allocations: 96 / 1.311 GB, free: 13.8 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.757e-05/0.4118, allocations: 4 kB / 1.311 GB, free: 13.8 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.4118, allocations: 3.984 kB / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.439e-05/0.4118, allocations: 0 / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.4118, allocations: 0 / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 1 (cmp)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (1):
 * Single equations (assignments): 1
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * 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.0001251/0.412, allocations: 201 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.412, allocations: 104.9 kB / 1.311 GB, free: 13.48 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.4121, allocations: 104.1 kB / 1.311 GB, free: 13.37 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.925e-05/0.4122, allocations: 188.3 kB / 1.311 GB, free: 13.18 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.555e-05/0.4123, allocations: 180.2 kB / 1.311 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.388e-05/0.4123, allocations: 180.2 kB / 1.312 GB, free: 12.81 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.4126, allocations: 380.2 kB / 1.312 GB, free: 12.39 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.706e-05/0.4127, allocations: 108.9 kB / 1.312 GB, free: 12.27 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.4127, allocations: 109 kB / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.55e-05/0.4128, allocations: 184.2 kB / 1.312 GB, free: 11.97 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.4129, allocations: 180.6 kB / 1.312 GB, free: 11.79 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.734e-05/0.413, allocations: 184.2 kB / 1.313 GB, free: 11.6 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-05/0.4131, allocations: 176.3 kB / 1.313 GB, free: 11.42 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.4133, allocations: 319.7 kB / 1.313 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.4133, allocations: 105 kB / 1.313 GB, free: 10.98 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.559e-05/0.4134, allocations: 180.2 kB / 1.313 GB, free: 10.79 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.918e-05/0.4135, allocations: 101 kB / 1.313 GB, free: 10.69 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.366e-05/0.4136, allocations: 180.2 kB / 1.314 GB, free: 10.5 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/0.4137, allocations: 116.9 kB / 1.314 GB, free: 10.38 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.147e-05/0.4137, allocations: 83.28 kB / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6.1e-08/0.4137, allocations: 0 / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002734/0.414, allocations: 23.86 kB / 1.314 GB, free: 10.28 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (0):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * 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.0004502/0.4144, allocations: 222 kB / 1.314 GB, free: 10.05 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 7.82e-05/0.4145, allocations: 4 kB / 1.314 GB, free: 10.05 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4145, allocations: 0 / 1.314 GB, free: 10.05 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 5.61e-06/0.4145, allocations: 11.88 kB / 1.314 GB, free: 10.04 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.415, allocations: 463.6 kB / 1.315 GB, free: 9.582 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.4154, allocations: 206.7 kB / 1.315 GB, free: 9.355 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.4158, allocations: 0.669 MB / 1.315 GB, free: 8.66 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.82e-05/0.4158, allocations: 4 kB / 1.315 GB, free: 8.656 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.4158, allocations: 7.438 kB / 1.315 GB, free: 8.648 MB / 1.014 GB
Notification: Performance of SimCode: time 3e-07/0.4158, allocations: 0 / 1.315 GB, free: 8.648 MB / 1.014 GB
Notification: Performance of Templates: time 0.003499/0.4193, allocations: 0.6914 MB / 1.316 GB, free: 8.004 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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: 9.485196706838906]