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.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.001486/0.001486, 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.001533/0.001533, allocations: 188.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.474/1.474, 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 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.888/2.888, allocations: 476.7 MB / 0.7646 GB, free: 9.898 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 67.89 kB / 1.11 GB, free: 6.246 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9651/0.9671, allocations: 168.8 MB / 1.274 GB, free: 4.176 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003187/0.9703, allocations: 1.445 MB / 1.276 GB, free: 2.723 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.005138/0.9754, allocations: 2.9 MB / 1.279 GB, free: 15.81 MB / 0.9825 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.9755, allocations: 0 / 1.279 GB, free: 15.81 MB / 0.9825 GB
Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.9755, allocations: 7.922 kB / 1.279 GB, free: 15.8 MB / 0.9825 GB
Notification: Performance of NFTyping.typeBindings: time 7.366e-05/0.9756, allocations: 11.86 kB / 1.279 GB, free: 15.79 MB / 0.9825 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004446/0.98, allocations: 1.615 MB / 1.28 GB, free: 14.2 MB / 0.9825 GB
Notification: Performance of NFFlatten.flatten: time 0.0001105/0.9801, allocations: 47.67 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.9802, allocations: 7.984 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.49e-05/0.9802, allocations: 15.92 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.015e-05/0.9803, allocations: 15.94 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB
Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.9803, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002804/0.9831, allocations: 1.692 MB / 1.282 GB, free: 12.41 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.9831, allocations: 3.938 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.9831, allocations: 23.86 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.001786/0.9849, allocations: 1.104 MB / 1.283 GB, free: 11.29 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.9849, allocations: 4 kB / 1.283 GB, free: 11.28 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 1.814e-06/0.9849, allocations: 0 / 1.283 GB, free: 11.28 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 6.262e-06/0.9849, allocations: 0 / 1.283 GB, free: 11.28 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.0007033/0.9856, allocations: 460.1 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.9857, allocations: 8.031 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.977e-05/0.9857, allocations: 88.17 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.9859, allocations: 193.7 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.518e-05/0.986, allocations: 154.9 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-05/0.9861, allocations: 158.9 kB / 1.284 GB, free: 10.18 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.948e-05/0.9862, allocations: 109.1 kB / 1.284 GB, free: 10.07 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/0.9862, allocations: 79.28 kB / 1.284 GB, free: 9.992 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.809e-05/0.9863, allocations: 150.6 kB / 1.284 GB, free: 9.844 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.28e-05/0.9863, allocations: 150.6 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.926e-05/0.9864, allocations: 158.6 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.9868, allocations: 440.9 kB / 1.285 GB, free: 9.066 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.9869, allocations: 169.1 kB / 1.285 GB, free: 8.891 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.9869, allocations: 80.14 kB / 1.285 GB, free: 8.809 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/0.987, allocations: 79.28 kB / 1.285 GB, free: 8.73 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.38e-05/0.9871, allocations: 113.8 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.9871, allocations: 0 / 1.286 GB, free: 8.609 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=0): time 9.588e-05/0.9872, allocations: 37.58 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/0.9872, allocations: 130.7 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.9874, allocations: 135.6 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.9874, allocations: 25.7 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.9875, allocations: 88.14 kB / 1.286 GB, free: 8.164 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.9875, allocations: 3.938 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.9875, allocations: 21.72 kB / 1.286 GB, free: 8.133 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001533/0.9877, allocations: 314.8 kB / 1.286 GB, free: 7.816 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.9877, allocations: 8 kB / 1.286 GB, free: 7.809 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.511e-05/0.9877, allocations: 4 kB / 1.286 GB, free: 7.805 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.844e-05/0.9877, allocations: 12.86 kB / 1.286 GB, free: 7.789 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.9877, allocations: 0 / 1.286 GB, free: 7.789 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.000141/0.9879, allocations: 53.58 kB / 1.286 GB, free: 7.73 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.9879, allocations: 12 kB / 1.286 GB, free: 7.719 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.9879, allocations: 0 / 1.286 GB, free: 7.719 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.9879, allocations: 0 / 1.286 GB, free: 7.719 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.9879, allocations: 0 / 1.286 GB, free: 7.719 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.9879, allocations: 4 kB / 1.286 GB, free: 7.715 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.988, allocations: 0 / 1.286 GB, free: 7.715 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.988, allocations: 0 / 1.286 GB, free: 7.715 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.0001304/0.9881, allocations: 193.1 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.722e-05/0.9882, allocations: 116.9 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.065e-05/0.9883, allocations: 112.7 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.942e-05/0.9884, allocations: 176.3 kB / 1.287 GB, free: 7.094 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001161/0.9885, allocations: 184.2 kB / 1.287 GB, free: 6.906 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001072/0.9886, allocations: 184.3 kB / 1.287 GB, free: 6.719 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.9889, allocations: 380.3 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-05/0.9889, allocations: 112.9 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-05/0.989, allocations: 101 kB / 1.288 GB, free: 6.074 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/0.9891, allocations: 188.1 kB / 1.288 GB, free: 5.883 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.9892, allocations: 180.3 kB / 1.288 GB, free: 5.699 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001015/0.9893, allocations: 188.2 kB / 1.288 GB, free: 5.508 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.024e-05/0.9894, allocations: 180.3 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.9896, allocations: 311.7 kB / 1.289 GB, free: 4.996 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.9897, allocations: 112.9 kB / 1.289 GB, free: 4.879 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.9898, allocations: 180.2 kB / 1.289 GB, free: 4.695 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.914e-05/0.9899, allocations: 105 kB / 1.289 GB, free: 4.586 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.99, allocations: 184.3 kB / 1.289 GB, free: 4.398 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/0.99, allocations: 112.9 kB / 1.29 GB, free: 4.281 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 7.43e-05/0.9901, allocations: 101.3 kB / 1.29 GB, free: 4.184 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.9901, allocations: 0 / 1.29 GB, free: 4.184 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0009154/0.991, allocations: 287 kB / 1.29 GB, free: 3.902 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.001154/0.9922, allocations: 0.5207 MB / 1.29 GB, free: 3.371 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0001195/0.9923, allocations: 33.7 kB / 1.29 GB, free: 3.332 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.9923, allocations: 0 / 1.29 GB, free: 3.332 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.9923, allocations: 4 kB / 1.29 GB, free: 3.328 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.9928, allocations: 463.6 kB / 1.291 GB, free: 2.871 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.9932, allocations: 236.7 kB / 1.291 GB, free: 2.613 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.9936, allocations: 0.6807 MB / 1.292 GB, free: 1.906 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 1.795e-05/0.9936, allocations: 4 kB / 1.292 GB, free: 1.902 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.9936, allocations: 11.38 kB / 1.292 GB, free: 1.891 MB / 0.9825 GB
Notification: Performance of SimCode: time 4.11e-07/0.9936, allocations: 0 / 1.292 GB, free: 1.891 MB / 0.9825 GB
Notification: Performance of Templates: time 0.01126/1.005, allocations: 5.487 MB / 1.297 GB, free: 12.46 MB / 0.9981 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.636576374992728]