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.001871/0.001871, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002183/0.002183, allocations: 190.1 kB / 22.23 MB, free: 5.105 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.53/1.53, allocations: 225.6 MB / 251 MB, free: 13.02 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.219/3.219, allocations: 496 MB / 0.7835 GB, free: 33.54 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.00206/0.00206, allocations: 67.45 kB / 1.138 GB, free: 33.77 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3938, allocations: 173.6 MB / 1.307 GB, free: 1.766 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001891/0.3956, allocations: 0.5822 MB / 1.308 GB, free: 1.184 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.00151/0.3972, allocations: 1.015 MB / 1.309 GB, free: 156 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.3972, allocations: 0 / 1.309 GB, free: 156 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.3972, allocations: 0 / 1.309 GB, free: 156 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 0.0007818/0.398, allocations: 107.8 kB / 1.309 GB, free: 48 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 3.726e-05/0.398, allocations: 4 kB / 1.309 GB, free: 44 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 7.54e-05/0.3981, allocations: 15.91 kB / 1.309 GB, free: 28 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.04e-05/0.3981, allocations: 0 / 1.309 GB, free: 28 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.523e-05/0.3982, allocations: 8 kB / 1.309 GB, free: 20 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.3984, allocations: 31.91 kB / 1.309 GB, free: 15.99 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.3984, allocations: 0 / 1.309 GB, free: 15.99 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.3986, allocations: 87.91 kB / 1.309 GB, free: 15.9 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.3986, allocations: 0 / 1.309 GB, free: 15.9 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.3987, allocations: 7.938 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.3989, allocations: 75.84 kB / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3989, allocations: 0 / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.743e-06/0.3989, allocations: 0 / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.312e-06/0.3989, allocations: 0 / 1.309 GB, free: 15.82 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.000373/0.3992, allocations: 254.3 kB / 1.309 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3993, allocations: 8.922 kB / 1.309 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.3993, allocations: 0.9375 kB / 1.309 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.3994, allocations: 118.5 kB / 1.31 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.3994, allocations: 4.312 kB / 1.31 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.3995, allocations: 4.375 kB / 1.31 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.51e-05/0.3995, allocations: 33.83 kB / 1.31 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.3996, allocations: 0 / 1.31 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.3996, allocations: 0 / 1.31 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3996, allocations: 0 / 1.31 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.687e-05/0.3996, allocations: 0 / 1.31 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.4, allocations: 358.5 kB / 1.31 GB, free: 14.95 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.4001, allocations: 177.1 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.627e-05/0.4002, allocations: 88.12 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.4002, allocations: 75.28 kB / 1.31 GB, free: 14.61 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.194e-05/0.4003, allocations: 105.8 kB / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.4003, allocations: 0 / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 7.684e-05/0.4004, allocations: 29.7 kB / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.457e-05/0.4005, allocations: 130.6 kB / 1.311 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.4006, allocations: 109.8 kB / 1.311 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.4006, allocations: 25.7 kB / 1.311 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.4007, allocations: 80.14 kB / 1.311 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/0.4007, allocations: 0 / 1.311 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.4007, allocations: 17.66 kB / 1.311 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001622/0.4009, allocations: 318.8 kB / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-06/0.4009, allocations: 4 kB / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.166e-06/0.4009, allocations: 4 kB / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.776e-05/0.4009, allocations: 4.859 kB / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4009, allocations: 0 / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001087/0.401, allocations: 37.69 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.401, allocations: 7.938 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.401, allocations: 0 / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.401, allocations: 192 / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.601e-05/0.4011, allocations: 4.094 kB / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.4011, allocations: 0 / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.366e-05/0.4011, allocations: 0 / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.4011, allocations: 7.984 kB / 1.311 GB, free: 13.66 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.000115/0.4012, allocations: 189 kB / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-05/0.4013, allocations: 105 kB / 1.311 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.243e-05/0.4013, allocations: 120 kB / 1.312 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-05/0.4014, allocations: 184.3 kB / 1.312 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-05/0.4015, allocations: 176.3 kB / 1.312 GB, free: 12.87 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-05/0.4016, allocations: 180.2 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.4019, allocations: 380.2 kB / 1.312 GB, free: 12.26 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.673e-05/0.4019, allocations: 104.9 kB / 1.313 GB, free: 12.15 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.402, allocations: 109 kB / 1.313 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.714e-05/0.4021, allocations: 180.3 kB / 1.313 GB, free: 11.86 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.4022, allocations: 184.4 kB / 1.313 GB, free: 11.67 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.89e-05/0.4023, allocations: 184.3 kB / 1.313 GB, free: 11.48 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.009e-05/0.4024, allocations: 184.2 kB / 1.313 GB, free: 11.29 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.4025, allocations: 299.8 kB / 1.314 GB, free: 10.98 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.4026, allocations: 116.9 kB / 1.314 GB, free: 10.86 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.863e-05/0.4027, allocations: 176.3 kB / 1.314 GB, free: 10.68 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.968e-05/0.4028, allocations: 104.9 kB / 1.314 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.27e-05/0.4029, allocations: 180.3 kB / 1.314 GB, free: 10.38 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.949e-05/0.4029, allocations: 109 kB / 1.314 GB, free: 10.27 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.535e-05/0.403, allocations: 91.2 kB / 1.314 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.403, allocations: 0 / 1.314 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002821/0.4033, allocations: 23.88 kB / 1.314 GB, free: 10.16 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.0004432/0.4037, allocations: 238.3 kB / 1.315 GB, free: 9.926 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 7.53e-05/0.4038, allocations: 4 kB / 1.315 GB, free: 9.922 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4038, allocations: 0 / 1.315 GB, free: 9.922 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.4038, allocations: 0 / 1.315 GB, free: 9.922 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.4042, allocations: 464.4 kB / 1.315 GB, free: 9.465 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.4046, allocations: 204.1 kB / 1.315 GB, free: 9.238 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.405, allocations: 0.6729 MB / 1.316 GB, free: 8.539 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.813e-05/0.405, allocations: 4 kB / 1.316 GB, free: 8.535 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/0.405, allocations: 7.438 kB / 1.316 GB, free: 8.527 MB / 1.014 GB
Notification: Performance of SimCode: time 3e-07/0.405, allocations: 0 / 1.316 GB, free: 8.527 MB / 1.014 GB
Notification: Performance of Templates: time 0.003432/0.4085, allocations: 0.6709 MB / 1.317 GB, free: 7.898 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.33481022156775]