Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.00135/0.00135, allocations: 110 kB / 18.93 MB, free: 2.945 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.001397/0.001397, allocations: 190.9 kB / 22.23 MB, free: 5.16 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.493/1.493, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.816/2.816, allocations: 476.7 MB / 0.7646 GB, free: 9.828 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative")
translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 71.89 kB / 1.11 GB, free: 6.172 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.035, allocations: 168.8 MB / 1.274 GB, free: 4.117 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003092/1.038, allocations: 1.461 MB / 1.276 GB, free: 2.648 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.005044/1.043, allocations: 2.939 MB / 1.279 GB, free: 15.7 MB / 0.9825 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.158e-05/1.043, allocations: 0 / 1.279 GB, free: 15.7 MB / 0.9825 GB
Notification: Performance of NFTyping.typeComponents: time 3.09e-05/1.043, allocations: 3.938 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB
Notification: Performance of NFTyping.typeBindings: time 7.231e-05/1.043, allocations: 15.84 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004183/1.047, allocations: 1.645 MB / 1.28 GB, free: 14.05 MB / 0.9825 GB
Notification: Performance of NFFlatten.flatten: time 9.841e-05/1.047, allocations: 43.73 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/1.048, allocations: 8 kB / 1.28 GB, free: 14 MB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.662e-05/1.048, allocations: 19.92 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.03e-05/1.048, allocations: 15.88 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB
Notification: Performance of NFPackage.collectConstants: time 1.021e-05/1.048, allocations: 0 / 1.28 GB, free: 13.96 MB / 0.9825 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002522/1.05, allocations: 1.739 MB / 1.282 GB, free: 12.22 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 2.126e-05/1.05, allocations: 7.984 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 4.196e-05/1.05, allocations: 19.88 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.001653/1.052, allocations: 1.138 MB / 1.283 GB, free: 11.06 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.052, allocations: 4 kB / 1.283 GB, free: 11.05 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 1.633e-06/1.052, allocations: 0 / 1.283 GB, free: 11.05 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 5.34e-06/1.052, allocations: 0 / 1.283 GB, free: 11.05 MB / 0.9825 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 0
 * Number of variables: 0
Notification: Performance of Generate backend data structure: time 0.0007244/1.053, allocations: 468.1 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/1.053, allocations: 12.03 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.389e-05/1.053, allocations: 80.17 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/1.053, allocations: 189.8 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.503e-05/1.053, allocations: 154.9 kB / 1.284 GB, free: 10.11 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-05/1.053, allocations: 154.9 kB / 1.284 GB, free: 9.961 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.325e-05/1.053, allocations: 105.1 kB / 1.284 GB, free: 9.852 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-05/1.053, allocations: 79.22 kB / 1.284 GB, free: 9.773 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.132e-05/1.053, allocations: 154.6 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.617e-05/1.053, allocations: 154.6 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.802e-05/1.053, allocations: 158.6 kB / 1.285 GB, free: 9.312 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/1.054, allocations: 437 kB / 1.285 GB, free: 8.844 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/1.054, allocations: 165.1 kB / 1.285 GB, free: 8.672 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.859e-05/1.054, allocations: 84.08 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/1.054, allocations: 79.28 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.669e-05/1.054, allocations: 109.8 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=0): time 1.062e-06/1.054, allocations: 0 / 1.286 GB, free: 8.391 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=0): time 8.66e-05/1.054, allocations: 29.7 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/1.054, allocations: 130.7 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/1.054, allocations: 143.7 kB / 1.286 GB, free: 8.066 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 1.71e-05/1.054, allocations: 25.7 kB / 1.286 GB, free: 8.035 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/1.054, allocations: 92.14 kB / 1.286 GB, free: 7.941 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/1.054, allocations: 0 / 1.286 GB, free: 7.941 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/1.054, allocations: 17.72 kB / 1.286 GB, free: 7.918 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001428/1.055, allocations: 318.8 kB / 1.286 GB, free: 7.598 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.642e-05/1.055, allocations: 7.938 kB / 1.286 GB, free: 7.59 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.142e-05/1.055, allocations: 11.97 kB / 1.286 GB, free: 7.578 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.933e-05/1.055, allocations: 12.86 kB / 1.286 GB, free: 7.562 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.055, allocations: 0 / 1.286 GB, free: 7.562 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001406/1.055, allocations: 61.56 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/1.055, allocations: 8.062 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/1.055, allocations: 7.938 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/1.055, allocations: 0 / 1.287 GB, free: 7.48 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/1.055, allocations: 0 / 1.287 GB, free: 7.48 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/1.055, allocations: 4 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/1.055, allocations: 0 / 1.287 GB, free: 7.477 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/1.055, allocations: 0 / 1.287 GB, free: 7.477 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for initialization:
 * 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 initialization (1):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * 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.0001238/1.055, allocations: 193 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.373e-05/1.055, allocations: 116.9 kB / 1.287 GB, free: 7.156 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.305e-05/1.055, allocations: 112.8 kB / 1.287 GB, free: 7.035 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.017e-05/1.055, allocations: 180.2 kB / 1.287 GB, free: 6.852 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.454e-05/1.055, allocations: 180.3 kB / 1.287 GB, free: 6.668 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.152e-05/1.055, allocations: 188.2 kB / 1.287 GB, free: 6.477 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/1.056, allocations: 380.3 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.427e-05/1.056, allocations: 112.9 kB / 1.288 GB, free: 5.938 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/1.056, allocations: 104.9 kB / 1.288 GB, free: 5.828 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.331e-05/1.056, allocations: 180.2 kB / 1.288 GB, free: 5.645 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-05/1.056, allocations: 184.2 kB / 1.288 GB, free: 5.457 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-05/1.056, allocations: 180.3 kB / 1.289 GB, free: 5.273 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-05/1.056, allocations: 180.3 kB / 1.289 GB, free: 5.09 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/1.056, allocations: 311.7 kB / 1.289 GB, free: 4.762 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/1.056, allocations: 112.9 kB / 1.289 GB, free: 4.645 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/1.056, allocations: 176.3 kB / 1.289 GB, free: 4.465 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.023e-05/1.057, allocations: 105 kB / 1.289 GB, free: 4.355 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.628e-05/1.057, allocations: 188.2 kB / 1.29 GB, free: 4.164 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/1.057, allocations: 105 kB / 1.29 GB, free: 4.055 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 6.849e-05/1.057, allocations: 101.5 kB / 1.29 GB, free: 3.957 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/1.057, allocations: 0 / 1.29 GB, free: 3.957 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0007734/1.058, allocations: 291 kB / 1.29 GB, free: 3.672 MB / 0.9825 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.001132/1.059, allocations: 0.5402 MB / 1.291 GB, free: 3.121 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.000115/1.059, allocations: 37.64 kB / 1.291 GB, free: 3.078 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.059, allocations: 0 / 1.291 GB, free: 3.078 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 1.724e-06/1.059, allocations: 0 / 1.291 GB, free: 3.078 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/1.059, allocations: 475.6 kB / 1.291 GB, free: 2.609 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/1.06, allocations: 240.5 kB / 1.291 GB, free: 2.348 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/1.06, allocations: 0.6884 MB / 1.292 GB, free: 1.633 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 1.396e-05/1.06, allocations: 0 / 1.292 GB, free: 1.633 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.728e-05/1.06, allocations: 11.44 kB / 1.292 GB, free: 1.621 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.3e-07/1.06, allocations: 4 kB / 1.292 GB, free: 1.617 MB / 0.9825 GB
Notification: Performance of Templates: time 0.01063/1.071, allocations: 5.634 MB / 1.298 GB, free: 12.03 MB / 0.9981 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
""

Variables in the reference:time,Rgb,Rgg1,Rgg2,RCondGro,x

Variables in the result:RCondGro,Rb,Rgb,Rgg1,Rgg2,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x
[Calling sys.exit(0), Time elapsed: 9.582000655122101]