Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001646/0.001646, 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.001677/0.001677, allocations: 191.8 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.444/1.444, 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-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.313/3.313, allocations: 496 MB / 0.7835 GB, free: 33.57 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-maint.12.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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 65.8 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4172, allocations: 173.6 MB / 1.307 GB, free: 1.734 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003106/0.4203, allocations: 1.441 MB / 1.309 GB, free: 288 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.004656/0.425, allocations: 2.899 MB / 1.312 GB, free: 13.37 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.579e-05/0.425, allocations: 0 / 1.312 GB, free: 13.37 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.425, allocations: 7.922 kB / 1.312 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 5.883e-05/0.4251, allocations: 15.86 kB / 1.312 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004011/0.4291, allocations: 1.622 MB / 1.313 GB, free: 11.73 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001064/0.4292, allocations: 47.73 kB / 1.313 GB, free: 11.69 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.4293, allocations: 0 / 1.313 GB, free: 11.69 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.205e-05/0.4293, allocations: 15.92 kB / 1.313 GB, free: 11.67 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.197e-05/0.4293, allocations: 11.94 kB / 1.313 GB, free: 11.66 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.4293, allocations: 11.92 kB / 1.313 GB, free: 11.65 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.4318, allocations: 1.689 MB / 1.315 GB, free: 9.957 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.4318, allocations: 15.88 kB / 1.315 GB, free: 9.941 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.4318, allocations: 19.86 kB / 1.315 GB, free: 9.922 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.001418/0.4332, allocations: 1.103 MB / 1.316 GB, free: 8.816 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.4332, allocations: 4 kB / 1.316 GB, free: 8.812 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.595e-06/0.4333, allocations: 4 kB / 1.316 GB, free: 8.809 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.304e-06/0.4333, allocations: 0 / 1.316 GB, free: 8.809 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.000609/0.4339, allocations: 456.2 kB / 1.317 GB, free: 8.332 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4339, allocations: 12.92 kB / 1.317 GB, free: 8.32 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.341e-05/0.434, allocations: 80.17 kB / 1.317 GB, free: 8.242 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.4341, allocations: 193.7 kB / 1.317 GB, free: 8.027 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/0.4342, allocations: 158.9 kB / 1.317 GB, free: 7.871 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/0.4343, allocations: 154.9 kB / 1.317 GB, free: 7.719 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 7.703e-05/0.4344, allocations: 109.1 kB / 1.317 GB, free: 7.605 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/0.4344, allocations: 75.28 kB / 1.317 GB, free: 7.531 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/0.4345, allocations: 154.5 kB / 1.317 GB, free: 7.379 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.109e-05/0.4345, allocations: 150.6 kB / 1.318 GB, free: 7.23 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.203e-05/0.4346, allocations: 154.6 kB / 1.318 GB, free: 7.078 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.4349, allocations: 433 kB / 1.318 GB, free: 6.613 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.435, allocations: 169.1 kB / 1.318 GB, free: 6.438 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.4351, allocations: 80.14 kB / 1.318 GB, free: 6.355 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.485e-05/0.4351, allocations: 83.22 kB / 1.318 GB, free: 6.273 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.426e-05/0.4352, allocations: 117.8 kB / 1.319 GB, free: 6.148 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.4352, allocations: 0 / 1.319 GB, free: 6.148 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 8.158e-05/0.4353, allocations: 33.66 kB / 1.319 GB, free: 6.109 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.4353, allocations: 130.7 kB / 1.319 GB, free: 5.969 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.4355, allocations: 131.4 kB / 1.319 GB, free: 5.832 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4355, allocations: 25.7 kB / 1.319 GB, free: 5.801 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.4356, allocations: 100.1 kB / 1.319 GB, free: 5.699 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.534e-06/0.4356, allocations: 0 / 1.319 GB, free: 5.699 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.4356, allocations: 13.72 kB / 1.319 GB, free: 5.68 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001402/0.4358, allocations: 318.8 kB / 1.319 GB, free: 5.359 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.726e-05/0.4358, allocations: 4 kB / 1.319 GB, free: 5.355 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.075e-05/0.4358, allocations: 11.94 kB / 1.319 GB, free: 5.344 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.698e-05/0.4358, allocations: 8.859 kB / 1.319 GB, free: 5.332 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4359, allocations: 0 / 1.319 GB, free: 5.332 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001329/0.436, allocations: 57.58 kB / 1.319 GB, free: 5.27 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.436, allocations: 8.062 kB / 1.319 GB, free: 5.262 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.436, allocations: 4 kB / 1.319 GB, free: 5.258 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.436, allocations: 0 / 1.319 GB, free: 5.258 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.436, allocations: 0 / 1.319 GB, free: 5.258 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.436, allocations: 0 / 1.319 GB, free: 5.258 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.4361, allocations: 3.938 kB / 1.319 GB, free: 5.254 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.4361, allocations: 7.938 kB / 1.319 GB, free: 5.246 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: 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.0001147/0.4362, allocations: 189.8 kB / 1.32 GB, free: 5.051 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.506e-05/0.4363, allocations: 120.8 kB / 1.32 GB, free: 4.926 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.041e-05/0.4363, allocations: 108.8 kB / 1.32 GB, free: 4.812 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.77e-05/0.4364, allocations: 184.2 kB / 1.32 GB, free: 4.625 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-05/0.4365, allocations: 176.3 kB / 1.32 GB, free: 4.445 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.92e-05/0.4365, allocations: 180.2 kB / 1.32 GB, free: 4.262 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.4368, allocations: 388.3 kB / 1.321 GB, free: 3.832 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.97e-05/0.4369, allocations: 116.9 kB / 1.321 GB, free: 3.711 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.366e-05/0.4369, allocations: 104.9 kB / 1.321 GB, free: 3.602 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.109e-05/0.437, allocations: 176.3 kB / 1.321 GB, free: 3.422 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.719e-05/0.4371, allocations: 184.2 kB / 1.321 GB, free: 3.234 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-05/0.4372, allocations: 180.2 kB / 1.321 GB, free: 3.051 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.969e-05/0.4373, allocations: 184.3 kB / 1.322 GB, free: 2.863 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.4375, allocations: 307.7 kB / 1.322 GB, free: 2.539 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.4375, allocations: 120.8 kB / 1.322 GB, free: 2.414 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.711e-05/0.4376, allocations: 176.3 kB / 1.322 GB, free: 2.234 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.093e-05/0.4377, allocations: 105 kB / 1.322 GB, free: 2.125 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.68e-05/0.4378, allocations: 184.2 kB / 1.322 GB, free: 1.938 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/0.4379, allocations: 105 kB / 1.322 GB, free: 1.828 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 7.106e-05/0.4379, allocations: 101 kB / 1.323 GB, free: 1.73 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.4379, allocations: 3.938 kB / 1.323 GB, free: 1.727 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0007755/0.4387, allocations: 283 kB / 1.323 GB, free: 1.449 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.001038/0.4397, allocations: 0.52 MB / 1.323 GB, free: 0.9219 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001245/0.4399, allocations: 41.62 kB / 1.323 GB, free: 0.875 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4399, allocations: 0 / 1.323 GB, free: 0.875 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.4399, allocations: 0 / 1.323 GB, free: 0.875 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/0.4403, allocations: 468.3 kB / 1.324 GB, free: 424 kB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.4407, allocations: 240.8 kB / 1.324 GB, free: 152 kB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.441, allocations: 0.6807 MB / 1.325 GB, free: 15.44 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 1.442e-05/0.4411, allocations: 3.938 kB / 1.325 GB, free: 15.44 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.637e-05/0.4411, allocations: 7.438 kB / 1.325 GB, free: 15.43 MB / 1.029 GB
Notification: Performance of SimCode: time 3.21e-07/0.4411, allocations: 4 kB / 1.325 GB, free: 15.43 MB / 1.029 GB
Notification: Performance of Templates: time 0.01048/0.4516, allocations: 5.485 MB / 1.33 GB, free: 9.996 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.840295533649623]