Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001694/0.001694, 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.002462/0.002462, allocations: 192.7 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.547/1.547, 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.312/3.312, allocations: 0.4893 GB / 0.7884 GB, free: 33.36 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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube")
translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 63.45 kB / 1.145 GB, free: 30.65 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4042, allocations: 174.9 MB / 1.316 GB, free: 9.668 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.007132/0.4113, allocations: 4.207 MB / 1.32 GB, free: 5.441 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.00428/0.4156, allocations: 2.425 MB / 1.323 GB, free: 3.004 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.416, allocations: 12 kB / 1.323 GB, free: 2.992 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.001839/0.4178, allocations: 0.5636 MB / 1.323 GB, free: 2.426 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0005306/0.4183, allocations: 242.1 kB / 1.323 GB, free: 2.188 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.4186, allocations: 135.8 kB / 1.323 GB, free: 2.055 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0009406/0.4196, allocations: 0.8131 MB / 1.324 GB, free: 1.238 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004366/0.42, allocations: 239 kB / 1.324 GB, free: 1 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004074/0.4204, allocations: 302.9 kB / 1.325 GB, free: 0.7031 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004219/0.4208, allocations: 326.6 kB / 1.325 GB, free: 392 kB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 9.542e-05/0.4209, allocations: 76 kB / 1.325 GB, free: 316 kB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.4211, allocations: 72 kB / 1.325 GB, free: 244 kB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.4213, allocations: 171.4 kB / 1.325 GB, free: 72 kB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0004115/0.4217, allocations: 394.2 kB / 1.326 GB, free: 15.68 MB / 1.029 GB
Notification: Performance of NFConvertDAE.convert: time 0.00112/0.4228, allocations: 0.9885 MB / 1.327 GB, free: 14.69 MB / 1.029 GB
Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.4228, allocations: 0 / 1.327 GB, free: 14.69 MB / 1.029 GB
Notification: Performance of FrontEnd: time 1.443e-06/0.4228, allocations: 0 / 1.327 GB, free: 14.69 MB / 1.029 GB
Notification: Performance of Transformations before backend: time 9.879e-06/0.4228, allocations: 0 / 1.327 GB, free: 14.69 MB / 1.029 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 122
 * Number of variables: 122
Notification: Performance of Generate backend data structure: time 0.001656/0.4245, allocations: 0.886 MB / 1.328 GB, free: 13.77 MB / 1.029 GB
Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.4245, allocations: 12.03 kB / 1.328 GB, free: 13.76 MB / 1.029 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.4246, allocations: 72.52 kB / 1.328 GB, free: 13.69 MB / 1.029 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000752/0.4254, allocations: 412.1 kB / 1.328 GB, free: 13.27 MB / 1.029 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.4254, allocations: 33.38 kB / 1.328 GB, free: 13.23 MB / 1.029 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.4255, allocations: 52.31 kB / 1.328 GB, free: 13.18 MB / 1.029 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008575/0.4264, allocations: 426.8 kB / 1.329 GB, free: 12.76 MB / 1.029 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.4264, allocations: 3.953 kB / 1.329 GB, free: 12.76 MB / 1.029 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.4265, allocations: 23.94 kB / 1.329 GB, free: 12.73 MB / 1.029 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.4265, allocations: 12 kB / 1.329 GB, free: 12.72 MB / 1.029 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007676/0.4272, allocations: 371.8 kB / 1.329 GB, free: 12.36 MB / 1.029 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/0.4296, allocations: 1.469 MB / 1.33 GB, free: 10.82 MB / 1.029 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.4301, allocations: 318.9 kB / 1.331 GB, free: 10.5 MB / 1.029 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/0.4306, allocations: 281.2 kB / 1.331 GB, free: 10.22 MB / 1.029 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.4307, allocations: 7.781 kB / 1.331 GB, free: 10.21 MB / 1.029 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.4307, allocations: 38.5 kB / 1.331 GB, free: 10.16 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=42): time 2.034e-06/0.4307, allocations: 0.7656 kB / 1.331 GB, free: 10.16 MB / 1.029 GB
Notification: Performance of matching and sorting (n=42): time 0.001076/0.4318, allocations: 0.4978 MB / 1.331 GB, free: 9.66 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.4318, allocations: 59.41 kB / 1.332 GB, free: 9.59 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006486/0.4325, allocations: 481.9 kB / 1.332 GB, free: 9.113 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.4325, allocations: 33.7 kB / 1.332 GB, free: 9.074 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.4328, allocations: 280.6 kB / 1.332 GB, free: 8.793 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.4329, allocations: 150.7 kB / 1.332 GB, free: 8.645 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.433, allocations: 62.02 kB / 1.333 GB, free: 8.574 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0002092/0.4332, allocations: 362.8 kB / 1.333 GB, free: 8.211 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.4335, allocations: 128.7 kB / 1.333 GB, free: 8.086 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.4338, allocations: 125.2 kB / 1.333 GB, free: 7.965 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000585/0.4344, allocations: 290.4 kB / 1.333 GB, free: 7.68 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.4344, allocations: 4 kB / 1.333 GB, free: 7.676 MB / 1.029 GB
Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007243/0.4351, allocations: 408.4 kB / 1.334 GB, free: 7.27 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.4351, allocations: 8 kB / 1.334 GB, free: 7.262 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.4351, allocations: 0 / 1.334 GB, free: 7.262 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.4352, allocations: 4 kB / 1.334 GB, free: 7.258 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/0.4357, allocations: 123.9 kB / 1.334 GB, free: 7.137 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.4357, allocations: 0 / 1.334 GB, free: 7.137 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.4359, allocations: 39.77 kB / 1.334 GB, free: 7.098 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.4359, allocations: 8 kB / 1.334 GB, free: 7.09 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 (46):
 * Single equations (assignments): 46
 * 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 prepare postOptimizeDAE: time 0.0002688/0.4362, allocations: 198.6 kB / 1.334 GB, free: 6.887 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.361e-05/0.4363, allocations: 59.56 kB / 1.334 GB, free: 6.828 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.4364, allocations: 61.11 kB / 1.334 GB, free: 6.77 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.4364, allocations: 4 kB / 1.334 GB, free: 6.766 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4365, allocations: 0 / 1.334 GB, free: 6.766 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.4365, allocations: 3.984 kB / 1.334 GB, free: 6.762 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007876/0.4372, allocations: 0.5353 MB / 1.335 GB, free: 6.184 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4373, allocations: 3.984 kB / 1.335 GB, free: 6.18 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/0.4378, allocations: 127.8 kB / 1.335 GB, free: 6.055 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.4378, allocations: 8 kB / 1.335 GB, free: 6.047 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.4378, allocations: 4 kB / 1.335 GB, free: 6.043 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.4378, allocations: 4 kB / 1.335 GB, free: 6.039 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4378, allocations: 3.938 kB / 1.335 GB, free: 6.035 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.4389, allocations: 0.6588 MB / 1.336 GB, free: 5.359 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.439, allocations: 71.52 kB / 1.336 GB, free: 5.289 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/0.4391, allocations: 12 kB / 1.336 GB, free: 5.277 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.4393, allocations: 8 kB / 1.336 GB, free: 5.27 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.827e-05/0.4394, allocations: 27.94 kB / 1.336 GB, free: 5.242 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.4394, allocations: 12 kB / 1.336 GB, free: 5.23 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0004458/0.4399, allocations: 347.1 kB / 1.336 GB, free: 4.895 MB / 1.029 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.4399, allocations: 0 / 1.336 GB, free: 4.895 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0004142/0.4403, allocations: 143.7 kB / 1.336 GB, free: 4.754 MB / 1.029 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T)
 * 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 (42):
 * Single equations (assignments): 42
 * 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.0001559/0.4404, allocations: 115.7 kB / 1.336 GB, free: 4.633 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0006517/0.4411, allocations: 303.9 kB / 1.337 GB, free: 4.336 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4411, allocations: 0 / 1.337 GB, free: 4.336 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.4414, allocations: 167.6 kB / 1.337 GB, free: 4.172 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000676/0.4421, allocations: 142.2 kB / 1.337 GB, free: 4.039 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.4442, allocations: 1.201 MB / 1.338 GB, free: 2.805 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/0.4449, allocations: 0.8703 MB / 1.339 GB, free: 1.906 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0001935/0.445, allocations: 52.36 kB / 1.339 GB, free: 1.855 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.4452, allocations: 35.44 kB / 1.339 GB, free: 1.82 MB / 1.029 GB
Notification: Performance of SimCode: time 6.11e-07/0.4452, allocations: 0 / 1.339 GB, free: 1.82 MB / 1.029 GB
Notification: Performance of Templates: time 0.01382/0.459, allocations: 6.263 MB / 1.345 GB, free: 11.69 MB / 1.045 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.673291658982635]