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.InternalResistancesTwoUTube.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.00191/0.00191, 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.002806/0.002806, allocations: 193.5 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.504/1.504, allocations: 225.6 MB / 251 MB, free: 13.01 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.303/3.303, allocations: 0.4893 GB / 0.7884 GB, free: 33.29 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube")
translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 71.36 kB / 1.145 GB, free: 30.69 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4094, allocations: 174.9 MB / 1.316 GB, free: 9.656 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003394/0.4128, allocations: 1.453 MB / 1.318 GB, free: 8.195 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.005079/0.4179, allocations: 2.941 MB / 1.32 GB, free: 5.238 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.4179, allocations: 0 / 1.32 GB, free: 5.238 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.418, allocations: 7.938 kB / 1.32 GB, free: 5.23 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 6.596e-05/0.418, allocations: 11.86 kB / 1.32 GB, free: 5.219 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00454/0.4226, allocations: 1.648 MB / 1.322 GB, free: 3.59 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001111/0.4227, allocations: 47.67 kB / 1.322 GB, free: 3.543 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.4227, allocations: 4 kB / 1.322 GB, free: 3.539 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.95e-05/0.4227, allocations: 23.86 kB / 1.322 GB, free: 3.516 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.707e-05/0.4228, allocations: 23.86 kB / 1.322 GB, free: 3.492 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.4228, allocations: 0 / 1.322 GB, free: 3.492 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.4254, allocations: 1.731 MB / 1.324 GB, free: 1.758 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.4255, allocations: 11.94 kB / 1.324 GB, free: 1.746 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 3.914e-05/0.4255, allocations: 19.86 kB / 1.324 GB, free: 1.727 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.001782/0.4273, allocations: 1.13 MB / 1.325 GB, free: 0.5938 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4273, allocations: 0 / 1.325 GB, free: 0.5938 MB / 1.014 GB
Notification: Performance of FrontEnd: time 4.258e-06/0.4273, allocations: 3.984 kB / 1.325 GB, free: 0.5898 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.015e-06/0.4273, allocations: 0 / 1.325 GB, free: 0.5898 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.0007882/0.4281, allocations: 464.1 kB / 1.325 GB, free: 108 kB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.4281, allocations: 16.03 kB / 1.325 GB, free: 92 kB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.156e-05/0.4282, allocations: 76.22 kB / 1.325 GB, free: 16 kB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.4284, allocations: 193.7 kB / 1.326 GB, free: 15.8 MB / 1.029 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.294e-05/0.4285, allocations: 154.9 kB / 1.326 GB, free: 15.65 MB / 1.029 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-05/0.4286, allocations: 150.9 kB / 1.326 GB, free: 15.5 MB / 1.029 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.319e-05/0.4287, allocations: 109 kB / 1.326 GB, free: 15.39 MB / 1.029 GB
Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/0.4287, allocations: 83.27 kB / 1.326 GB, free: 15.3 MB / 1.029 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-05/0.4288, allocations: 150.6 kB / 1.326 GB, free: 15.16 MB / 1.029 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.08e-05/0.4289, allocations: 150.6 kB / 1.326 GB, free: 15.01 MB / 1.029 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.997e-05/0.4289, allocations: 150.6 kB / 1.327 GB, free: 14.86 MB / 1.029 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.4293, allocations: 441 kB / 1.327 GB, free: 14.39 MB / 1.029 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.4295, allocations: 177.1 kB / 1.327 GB, free: 14.2 MB / 1.029 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.713e-05/0.4295, allocations: 80.14 kB / 1.327 GB, free: 14.12 MB / 1.029 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.397e-05/0.4296, allocations: 75.28 kB / 1.327 GB, free: 14.05 MB / 1.029 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.898e-05/0.4297, allocations: 109.8 kB / 1.327 GB, free: 13.93 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.4297, allocations: 0 / 1.327 GB, free: 13.93 MB / 1.029 GB
Notification: Performance of matching and sorting (n=0): time 0.0001144/0.4298, allocations: 33.7 kB / 1.327 GB, free: 13.89 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.4299, allocations: 126.7 kB / 1.328 GB, free: 13.75 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.4301, allocations: 144 kB / 1.328 GB, free: 13.61 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.4301, allocations: 25.7 kB / 1.328 GB, free: 13.57 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 9.274e-05/0.4302, allocations: 92.11 kB / 1.328 GB, free: 13.48 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 2.955e-06/0.4302, allocations: 0 / 1.328 GB, free: 13.48 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.4303, allocations: 21.72 kB / 1.328 GB, free: 13.45 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0001864/0.4305, allocations: 322.8 kB / 1.328 GB, free: 13.13 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.861e-05/0.4305, allocations: 12 kB / 1.328 GB, free: 13.12 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.4305, allocations: 4 kB / 1.328 GB, free: 13.11 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.594e-05/0.4306, allocations: 16.8 kB / 1.328 GB, free: 13.09 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4306, allocations: 0 / 1.328 GB, free: 13.09 MB / 1.029 GB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001681/0.4308, allocations: 57.58 kB / 1.328 GB, free: 13.03 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4308, allocations: 7.938 kB / 1.328 GB, free: 13.02 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/0.4308, allocations: 4 kB / 1.328 GB, free: 13.02 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4308, allocations: 0 / 1.328 GB, free: 13.02 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.4308, allocations: 0 / 1.328 GB, free: 13.02 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4308, allocations: 4 kB / 1.328 GB, free: 13.02 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.4309, allocations: 8 kB / 1.328 GB, free: 13.01 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.4309, allocations: 3.938 kB / 1.328 GB, free: 13 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.0001282/0.431, allocations: 189.7 kB / 1.328 GB, free: 12.81 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.4311, allocations: 112.9 kB / 1.329 GB, free: 12.69 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.086e-05/0.4311, allocations: 108.8 kB / 1.329 GB, free: 12.57 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.688e-05/0.4312, allocations: 180.2 kB / 1.329 GB, free: 12.39 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.708e-05/0.4313, allocations: 180.3 kB / 1.329 GB, free: 12.21 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-05/0.4314, allocations: 192.2 kB / 1.329 GB, free: 12.01 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.4317, allocations: 384.3 kB / 1.33 GB, free: 11.59 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.782e-05/0.4317, allocations: 108.9 kB / 1.33 GB, free: 11.47 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.4318, allocations: 104.9 kB / 1.33 GB, free: 11.36 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.859e-05/0.4319, allocations: 184.3 kB / 1.33 GB, free: 11.18 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.462e-05/0.432, allocations: 180.2 kB / 1.33 GB, free: 10.99 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-05/0.4321, allocations: 184.2 kB / 1.33 GB, free: 10.8 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.165e-05/0.4322, allocations: 176.3 kB / 1.33 GB, free: 10.62 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.4323, allocations: 311.8 kB / 1.331 GB, free: 10.3 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.648e-05/0.4324, allocations: 124.8 kB / 1.331 GB, free: 10.17 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.559e-05/0.4325, allocations: 176.3 kB / 1.331 GB, free: 9.988 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.4326, allocations: 101 kB / 1.331 GB, free: 9.883 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.325e-05/0.4327, allocations: 184.2 kB / 1.331 GB, free: 9.695 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/0.4328, allocations: 105 kB / 1.331 GB, free: 9.586 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 7.223e-05/0.4328, allocations: 105.1 kB / 1.331 GB, free: 9.484 MB / 1.029 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.4328, allocations: 0 / 1.331 GB, free: 9.484 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0009017/0.4337, allocations: 287 kB / 1.332 GB, free: 9.203 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.001239/0.435, allocations: 0.5314 MB / 1.332 GB, free: 8.664 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0001325/0.4351, allocations: 45.64 kB / 1.332 GB, free: 8.613 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4351, allocations: 0 / 1.332 GB, free: 8.613 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.4351, allocations: 0 / 1.332 GB, free: 8.613 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005109/0.4356, allocations: 467.6 kB / 1.333 GB, free: 8.152 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.436, allocations: 244.6 kB / 1.333 GB, free: 7.883 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005673/0.4366, allocations: 0.6885 MB / 1.334 GB, free: 7.168 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 1.496e-05/0.4366, allocations: 0 / 1.334 GB, free: 7.168 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.705e-05/0.4366, allocations: 7.438 kB / 1.334 GB, free: 7.16 MB / 1.029 GB
Notification: Performance of SimCode: time 3.31e-07/0.4366, allocations: 0 / 1.334 GB, free: 7.16 MB / 1.029 GB
Notification: Performance of Templates: time 0.01116/0.4478, allocations: 5.653 MB / 1.339 GB, free: 1.559 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.839843705296516]