Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001382/0.001382, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001659/0.001659, allocations: 189.5 kB / 22.23 MB, free: 5.137 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.487/1.487, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.245/3.245, allocations: 0.4893 GB / 0.7884 GB, free: 33.2 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-master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 71.8 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4172, allocations: 174.9 MB / 1.316 GB, free: 9.711 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00192/0.4192, allocations: 0.572 MB / 1.317 GB, free: 9.145 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001469/0.4206, allocations: 1.019 MB / 1.318 GB, free: 8.109 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.782e-05/0.4206, allocations: 4 kB / 1.318 GB, free: 8.105 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.4207, allocations: 0 / 1.318 GB, free: 8.105 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0006884/0.4213, allocations: 95.77 kB / 1.318 GB, free: 8.012 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 3.807e-05/0.4214, allocations: 15.88 kB / 1.318 GB, free: 7.996 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 4.828e-05/0.4214, allocations: 4 kB / 1.318 GB, free: 7.992 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.4215, allocations: 8 kB / 1.318 GB, free: 7.984 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.703e-05/0.4215, allocations: 0 / 1.318 GB, free: 7.984 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.4217, allocations: 35.91 kB / 1.318 GB, free: 7.949 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 9.537e-06/0.4217, allocations: 3.938 kB / 1.318 GB, free: 7.945 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.4219, allocations: 87.89 kB / 1.318 GB, free: 7.859 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.4219, allocations: 7.984 kB / 1.318 GB, free: 7.852 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 1.6e-05/0.4219, allocations: 0 / 1.318 GB, free: 7.852 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.4221, allocations: 75.84 kB / 1.318 GB, free: 7.777 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4221, allocations: 0 / 1.318 GB, free: 7.777 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.523e-06/0.4221, allocations: 0 / 1.318 GB, free: 7.777 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.26e-06/0.4221, allocations: 3.938 kB / 1.318 GB, free: 7.773 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.000351/0.4225, allocations: 258.2 kB / 1.318 GB, free: 7.492 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.4225, allocations: 8.031 kB / 1.318 GB, free: 7.484 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.4225, allocations: 4.938 kB / 1.318 GB, free: 7.48 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.4226, allocations: 106.5 kB / 1.318 GB, free: 7.352 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.4226, allocations: 384 / 1.318 GB, free: 7.352 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.4227, allocations: 4.375 kB / 1.318 GB, free: 7.348 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.33e-05/0.4227, allocations: 33.81 kB / 1.318 GB, free: 7.309 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4228, allocations: 3.984 kB / 1.318 GB, free: 7.305 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.4228, allocations: 0 / 1.318 GB, free: 7.305 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.4228, allocations: 0 / 1.318 GB, free: 7.305 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.741e-05/0.4228, allocations: 4 kB / 1.318 GB, free: 7.301 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.4232, allocations: 370.5 kB / 1.319 GB, free: 6.895 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.53e-05/0.4233, allocations: 165.1 kB / 1.319 GB, free: 6.723 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.4233, allocations: 80.14 kB / 1.319 GB, free: 6.641 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.4234, allocations: 75.28 kB / 1.319 GB, free: 6.566 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.459e-05/0.4234, allocations: 109.8 kB / 1.319 GB, free: 6.449 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.4234, allocations: 0 / 1.319 GB, free: 6.449 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 8.273e-05/0.4235, allocations: 37.59 kB / 1.319 GB, free: 6.406 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.338e-05/0.4236, allocations: 130.7 kB / 1.319 GB, free: 6.266 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.4237, allocations: 97.86 kB / 1.319 GB, free: 6.16 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.4237, allocations: 25.7 kB / 1.319 GB, free: 6.129 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.018e-05/0.4238, allocations: 80.14 kB / 1.319 GB, free: 6.047 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/0.4238, allocations: 4 kB / 1.319 GB, free: 6.043 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.4238, allocations: 17.72 kB / 1.32 GB, free: 6.02 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001606/0.424, allocations: 318.8 kB / 1.32 GB, free: 5.699 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.424, allocations: 4 kB / 1.32 GB, free: 5.695 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-06/0.424, allocations: 0 / 1.32 GB, free: 5.695 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.345e-05/0.424, allocations: 4.859 kB / 1.32 GB, free: 5.688 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.424, allocations: 4 kB / 1.32 GB, free: 5.684 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 9.751e-05/0.4241, allocations: 37.58 kB / 1.32 GB, free: 5.641 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.4241, allocations: 4.094 kB / 1.32 GB, free: 5.637 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.4241, allocations: 4 kB / 1.32 GB, free: 5.633 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4241, allocations: 7.938 kB / 1.32 GB, free: 5.625 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.387e-05/0.4242, allocations: 0 / 1.32 GB, free: 5.625 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4242, allocations: 3.984 kB / 1.32 GB, free: 5.621 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.304e-05/0.4242, allocations: 0 / 1.32 GB, free: 5.621 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.4242, allocations: 0 / 1.32 GB, free: 5.621 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.0001116/0.4243, allocations: 189.1 kB / 1.32 GB, free: 5.426 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.899e-05/0.4244, allocations: 105 kB / 1.32 GB, free: 5.316 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.08e-05/0.4244, allocations: 112.1 kB / 1.32 GB, free: 5.195 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.708e-05/0.4245, allocations: 180.3 kB / 1.32 GB, free: 5.012 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001235/0.4246, allocations: 188.2 kB / 1.321 GB, free: 4.82 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.369e-05/0.4247, allocations: 180.3 kB / 1.321 GB, free: 4.637 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/0.4251, allocations: 368.2 kB / 1.321 GB, free: 4.227 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.723e-05/0.4251, allocations: 120.9 kB / 1.321 GB, free: 4.102 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.4252, allocations: 101 kB / 1.321 GB, free: 3.996 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.174e-05/0.4252, allocations: 184.2 kB / 1.322 GB, free: 3.809 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.36e-05/0.4253, allocations: 176.5 kB / 1.322 GB, free: 3.629 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.298e-05/0.4254, allocations: 188.2 kB / 1.322 GB, free: 3.438 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000146/0.4256, allocations: 180.2 kB / 1.322 GB, free: 3.254 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.4257, allocations: 311.7 kB / 1.322 GB, free: 2.926 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.4258, allocations: 101 kB / 1.322 GB, free: 2.82 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-05/0.4259, allocations: 188.2 kB / 1.323 GB, free: 2.629 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/0.426, allocations: 101 kB / 1.323 GB, free: 2.523 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.109e-05/0.4261, allocations: 180.3 kB / 1.323 GB, free: 2.34 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/0.4261, allocations: 108.9 kB / 1.323 GB, free: 2.227 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.615e-05/0.4262, allocations: 83.28 kB / 1.323 GB, free: 2.145 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4262, allocations: 0 / 1.323 GB, free: 2.145 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002955/0.4265, allocations: 27.86 kB / 1.323 GB, free: 2.117 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.0004179/0.4269, allocations: 237.2 kB / 1.323 GB, free: 1.883 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 7.295e-05/0.4269, allocations: 8 kB / 1.323 GB, free: 1.875 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4269, allocations: 0 / 1.323 GB, free: 1.875 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.4269, allocations: 0 / 1.323 GB, free: 1.875 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.4274, allocations: 460.2 kB / 1.324 GB, free: 1.422 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.4278, allocations: 208.1 kB / 1.324 GB, free: 1.191 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.4281, allocations: 0.6729 MB / 1.325 GB, free: 0.4922 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.95e-05/0.4282, allocations: 3.984 kB / 1.325 GB, free: 500 kB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.4282, allocations: 11.44 kB / 1.325 GB, free: 488 kB / 1.014 GB
Notification: Performance of SimCode: time 3.1e-07/0.4282, allocations: 0 / 1.325 GB, free: 488 kB / 1.014 GB
Notification: Performance of Templates: time 0.00335/0.4315, allocations: 0.6813 MB / 1.325 GB, free: 15.84 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.362300204113126]