Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.001457/0.001457, allocations: 112.7 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.001535/0.001535, allocations: 187.6 kB / 22.22 MB, free: 5.102 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.449/1.449, 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-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.27/3.27, allocations: 0.4893 GB / 0.7884 GB, free: 33.22 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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube")
translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 62.81 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.4438, allocations: 174.9 MB / 1.316 GB, free: 9.707 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003049/0.4469, allocations: 1.442 MB / 1.318 GB, free: 8.254 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.005106/0.452, allocations: 2.906 MB / 1.32 GB, free: 5.332 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.962e-05/0.452, allocations: 0 / 1.32 GB, free: 5.332 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.452, allocations: 3.938 kB / 1.32 GB, free: 5.328 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 6.969e-05/0.4521, allocations: 19.84 kB / 1.32 GB, free: 5.309 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004266/0.4564, allocations: 1.627 MB / 1.322 GB, free: 3.703 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001246/0.4565, allocations: 39.73 kB / 1.322 GB, free: 3.664 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.4565, allocations: 0 / 1.322 GB, free: 3.664 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.571e-05/0.4566, allocations: 15.94 kB / 1.322 GB, free: 3.648 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.624e-05/0.4566, allocations: 23.84 kB / 1.322 GB, free: 3.625 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.4566, allocations: 4 kB / 1.322 GB, free: 3.621 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.4593, allocations: 1.692 MB / 1.324 GB, free: 1.926 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.4593, allocations: 0 / 1.324 GB, free: 1.926 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.4594, allocations: 15.88 kB / 1.324 GB, free: 1.91 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.001661/0.461, allocations: 1.113 MB / 1.325 GB, free: 0.7969 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.461, allocations: 4 kB / 1.325 GB, free: 0.793 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.813e-06/0.461, allocations: 0 / 1.325 GB, free: 0.793 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.114e-06/0.4611, allocations: 0 / 1.325 GB, free: 0.793 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: 0
 * Number of variables: 0
Notification: Performance of Generate backend data structure: time 0.0007225/0.4618, allocations: 456.2 kB / 1.325 GB, free: 324 kB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4618, allocations: 12.03 kB / 1.325 GB, free: 312 kB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.905e-05/0.4619, allocations: 80.17 kB / 1.325 GB, free: 232 kB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.4621, allocations: 197.6 kB / 1.326 GB, free: 8 kB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.4622, allocations: 158.9 kB / 1.326 GB, free: 15.85 MB / 1.029 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.073e-05/0.4623, allocations: 154.9 kB / 1.326 GB, free: 15.7 MB / 1.029 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.439e-05/0.4623, allocations: 109.1 kB / 1.326 GB, free: 15.59 MB / 1.029 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.74e-05/0.4624, allocations: 79.22 kB / 1.326 GB, free: 15.51 MB / 1.029 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.539e-05/0.4625, allocations: 150.6 kB / 1.326 GB, free: 15.36 MB / 1.029 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-05/0.4625, allocations: 150.6 kB / 1.326 GB, free: 15.21 MB / 1.029 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.215e-05/0.4626, allocations: 154.6 kB / 1.326 GB, free: 15.06 MB / 1.029 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.4629, allocations: 436.9 kB / 1.327 GB, free: 14.59 MB / 1.029 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.463, allocations: 173.1 kB / 1.327 GB, free: 14.41 MB / 1.029 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.672e-05/0.4631, allocations: 88.06 kB / 1.327 GB, free: 14.32 MB / 1.029 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.4631, allocations: 79.28 kB / 1.327 GB, free: 14.24 MB / 1.029 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/0.4632, allocations: 109.8 kB / 1.327 GB, free: 14.12 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.4632, allocations: 0 / 1.327 GB, free: 14.12 MB / 1.029 GB
Notification: Performance of matching and sorting (n=0): time 8.347e-05/0.4633, allocations: 33.66 kB / 1.327 GB, free: 14.09 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.702e-05/0.4633, allocations: 126.7 kB / 1.327 GB, free: 13.95 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.4635, allocations: 135.9 kB / 1.328 GB, free: 13.81 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.4635, allocations: 25.7 kB / 1.328 GB, free: 13.78 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.4636, allocations: 96.12 kB / 1.328 GB, free: 13.68 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.4636, allocations: 0 / 1.328 GB, free: 13.68 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.4636, allocations: 17.72 kB / 1.328 GB, free: 13.66 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0001335/0.4638, allocations: 314.8 kB / 1.328 GB, free: 13.34 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.4638, allocations: 11.94 kB / 1.328 GB, free: 13.33 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.565e-05/0.4638, allocations: 4 kB / 1.328 GB, free: 13.32 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.051e-05/0.4638, allocations: 12.8 kB / 1.328 GB, free: 13.31 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4638, allocations: 4 kB / 1.328 GB, free: 13.3 MB / 1.029 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001402/0.464, allocations: 61.61 kB / 1.328 GB, free: 13.24 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.464, allocations: 4 kB / 1.328 GB, free: 13.23 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.464, allocations: 4 kB / 1.328 GB, free: 13.23 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.464, allocations: 0 / 1.328 GB, free: 13.23 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.464, allocations: 0 / 1.328 GB, free: 13.23 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.464, allocations: 0 / 1.328 GB, free: 13.23 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.39e-05/0.4641, allocations: 7.891 kB / 1.328 GB, free: 13.22 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.4641, allocations: 4 kB / 1.328 GB, free: 13.22 MB / 1.029 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.0001482/0.4642, allocations: 193.6 kB / 1.328 GB, free: 13.02 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/0.4643, allocations: 108.9 kB / 1.328 GB, free: 12.91 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.061e-05/0.4644, allocations: 108.8 kB / 1.328 GB, free: 12.79 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.881e-05/0.4645, allocations: 184.2 kB / 1.329 GB, free: 12.6 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-05/0.4645, allocations: 176.3 kB / 1.329 GB, free: 12.42 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.511e-05/0.4646, allocations: 180.2 kB / 1.329 GB, free: 12.24 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.4649, allocations: 392.3 kB / 1.329 GB, free: 11.8 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.542e-05/0.4649, allocations: 108.9 kB / 1.329 GB, free: 11.69 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/0.465, allocations: 104.9 kB / 1.33 GB, free: 11.58 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.169e-05/0.465, allocations: 180.3 kB / 1.33 GB, free: 11.4 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.422e-05/0.4651, allocations: 188.1 kB / 1.33 GB, free: 11.21 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.301e-05/0.4652, allocations: 180.2 kB / 1.33 GB, free: 11.02 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-05/0.4653, allocations: 180.3 kB / 1.33 GB, free: 10.84 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.4655, allocations: 311.7 kB / 1.331 GB, free: 10.51 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.4656, allocations: 112.8 kB / 1.331 GB, free: 10.39 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.059e-05/0.4656, allocations: 184.2 kB / 1.331 GB, free: 10.21 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.605e-05/0.4657, allocations: 105 kB / 1.331 GB, free: 10.1 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.699e-05/0.4658, allocations: 180.2 kB / 1.331 GB, free: 9.914 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.4659, allocations: 101 kB / 1.331 GB, free: 9.809 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 7.186e-05/0.4659, allocations: 101.1 kB / 1.331 GB, free: 9.711 MB / 1.029 GB
Notification: Performance of sort global known variables: time 1.3e-07/0.4659, allocations: 0 / 1.331 GB, free: 9.711 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.000813/0.4667, allocations: 279 kB / 1.332 GB, free: 9.438 MB / 1.029 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.001126/0.4679, allocations: 0.5284 MB / 1.332 GB, free: 8.898 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0001285/0.468, allocations: 45.62 kB / 1.332 GB, free: 8.848 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.468, allocations: 0 / 1.332 GB, free: 8.848 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.468, allocations: 0 / 1.332 GB, free: 8.848 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.4685, allocations: 467.7 kB / 1.333 GB, free: 8.387 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.4689, allocations: 232.8 kB / 1.333 GB, free: 8.129 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.4692, allocations: 0.6846 MB / 1.333 GB, free: 7.418 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 1.37e-05/0.4692, allocations: 3.938 kB / 1.333 GB, free: 7.414 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.4e-05/0.4692, allocations: 7.438 kB / 1.333 GB, free: 7.406 MB / 1.029 GB
Notification: Performance of SimCode: time 3.11e-07/0.4692, allocations: 0 / 1.333 GB, free: 7.406 MB / 1.029 GB
Notification: Performance of Templates: time 0.01048/0.4797, allocations: 5.496 MB / 1.339 GB, free: 1.965 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.623619397170842]