Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001653/0.001653, 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.001951/0.001951, allocations: 190.9 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.442/1.442, 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 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.714/2.714, allocations: 476.7 MB / 0.7646 GB, free: 9.875 MB / 0.6231 GB
"
[Timeout remaining time 177]
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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube")
translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 71.88 kB / 1.11 GB, free: 6.27 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9354/0.9375, allocations: 168.8 MB / 1.274 GB, free: 4.223 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005025/0.9426, allocations: 3.106 MB / 1.277 GB, free: 1.105 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.003289/0.9458, allocations: 2.151 MB / 1.28 GB, free: 14.95 MB / 0.9825 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.9461, allocations: 4 kB / 1.28 GB, free: 14.94 MB / 0.9825 GB
Notification: Performance of NFTyping.typeComponents: time 0.001475/0.9475, allocations: 0.5013 MB / 1.28 GB, free: 14.44 MB / 0.9825 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.9478, allocations: 146.8 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.948, allocations: 63.92 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB
Notification: Performance of NFFlatten.flatten: time 0.0005381/0.9485, allocations: 445.8 kB / 1.281 GB, free: 13.8 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.9488, allocations: 111.8 kB / 1.281 GB, free: 13.68 MB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.949, allocations: 171.3 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.9493, allocations: 179.2 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB
Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.9493, allocations: 36 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.29e-05/0.9494, allocations: 32 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 0.000125/0.9495, allocations: 95.62 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.9497, allocations: 226.9 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006261/0.9504, allocations: 0.5408 MB / 1.282 GB, free: 12.41 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.9504, allocations: 0 / 1.282 GB, free: 12.41 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 1.893e-06/0.9504, allocations: 0 / 1.282 GB, free: 12.41 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 1.485e-05/0.9504, allocations: 0 / 1.282 GB, free: 12.41 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: 52
 * Number of variables: 52
Notification: Performance of Generate backend data structure: time 0.001159/0.9516, allocations: 0.6445 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.9516, allocations: 8.031 kB / 1.283 GB, free: 11.73 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.117e-05/0.9517, allocations: 48.66 kB / 1.283 GB, free: 11.68 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005958/0.9523, allocations: 320.6 kB / 1.283 GB, free: 11.34 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.9523, allocations: 20.81 kB / 1.283 GB, free: 11.32 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.9524, allocations: 20.36 kB / 1.283 GB, free: 11.3 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004698/0.9528, allocations: 207.6 kB / 1.283 GB, free: 11.09 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.9528, allocations: 0 / 1.283 GB, free: 11.09 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.9529, allocations: 8 kB / 1.283 GB, free: 11.09 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.9529, allocations: 8 kB / 1.283 GB, free: 11.08 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.9533, allocations: 161.6 kB / 1.283 GB, free: 10.92 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.9547, allocations: 0.8278 MB / 1.284 GB, free: 10.03 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.9551, allocations: 142.5 kB / 1.284 GB, free: 9.883 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.9553, allocations: 107.3 kB / 1.284 GB, free: 9.777 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.9553, allocations: 320 / 1.284 GB, free: 9.777 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.9553, allocations: 38.5 kB / 1.284 GB, free: 9.73 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=18): time 1.002e-06/0.9553, allocations: 0 / 1.284 GB, free: 9.73 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=18): time 0.0006761/0.956, allocations: 259.5 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.9561, allocations: 59.41 kB / 1.285 GB, free: 9.402 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005586/0.9566, allocations: 421.7 kB / 1.285 GB, free: 8.98 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.9567, allocations: 33.64 kB / 1.285 GB, free: 8.941 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.9568, allocations: 200.5 kB / 1.285 GB, free: 8.742 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 7.828e-05/0.9569, allocations: 67.42 kB / 1.285 GB, free: 8.676 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.957, allocations: 29.72 kB / 1.285 GB, free: 8.641 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0002117/0.9572, allocations: 350.8 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.9574, allocations: 55.97 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.9575, allocations: 62.36 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.9578, allocations: 138.6 kB / 1.286 GB, free: 8.039 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9578, allocations: 0 / 1.286 GB, free: 8.039 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004169/0.9582, allocations: 205.4 kB / 1.286 GB, free: 7.832 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.9583, allocations: 4 kB / 1.286 GB, free: 7.828 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.9583, allocations: 4 kB / 1.286 GB, free: 7.824 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.9583, allocations: 11.86 kB / 1.286 GB, free: 7.812 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.9586, allocations: 59.91 kB / 1.286 GB, free: 7.754 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.9586, allocations: 0 / 1.286 GB, free: 7.754 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.9587, allocations: 19.88 kB / 1.286 GB, free: 7.734 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.9588, allocations: 4 kB / 1.286 GB, free: 7.73 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 (20):
 * Single equations (assignments): 20
 * 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.0002001/0.959, allocations: 164 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/0.959, allocations: 43.77 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.269e-05/0.9591, allocations: 47.45 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.9591, allocations: 0 / 1.287 GB, free: 7.469 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.9591, allocations: 0 / 1.287 GB, free: 7.469 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.9591, allocations: 4 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005066/0.9596, allocations: 348.4 kB / 1.287 GB, free: 7.082 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.9596, allocations: 0 / 1.287 GB, free: 7.082 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.9599, allocations: 51.95 kB / 1.287 GB, free: 7.031 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.9599, allocations: 8 kB / 1.287 GB, free: 7.023 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.9599, allocations: 7.938 kB / 1.287 GB, free: 7.016 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.9599, allocations: 4 kB / 1.287 GB, free: 7.012 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.9599, allocations: 0 / 1.287 GB, free: 7.012 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000647/0.9606, allocations: 379.1 kB / 1.287 GB, free: 6.625 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.684e-05/0.9607, allocations: 39.73 kB / 1.287 GB, free: 6.586 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.9607, allocations: 11.92 kB / 1.287 GB, free: 6.574 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.9609, allocations: 12.06 kB / 1.287 GB, free: 6.562 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.9609, allocations: 11.97 kB / 1.287 GB, free: 6.551 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.9609, allocations: 4 kB / 1.287 GB, free: 6.547 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.000359/0.9613, allocations: 303.2 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.9613, allocations: 0 / 1.288 GB, free: 6.254 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0003119/0.9616, allocations: 71.89 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18):
 * Single equations (assignments): 18
 * 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.000142/0.9617, allocations: 111.2 kB / 1.288 GB, free: 6.066 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0003712/0.9621, allocations: 140.2 kB / 1.288 GB, free: 5.934 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9621, allocations: 4 kB / 1.288 GB, free: 5.93 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.9623, allocations: 71.89 kB / 1.288 GB, free: 5.859 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000544/0.9628, allocations: 85.92 kB / 1.288 GB, free: 5.777 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.9641, allocations: 0.7773 MB / 1.289 GB, free: 4.973 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.9645, allocations: 0.799 MB / 1.29 GB, free: 4.145 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 0.0001103/0.9646, allocations: 30.97 kB / 1.29 GB, free: 4.113 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.555e-05/0.9647, allocations: 23.44 kB / 1.29 GB, free: 4.09 MB / 0.9825 GB
Notification: Performance of SimCode: time 2.91e-07/0.9647, allocations: 0 / 1.29 GB, free: 4.09 MB / 0.9825 GB
Notification: Performance of Templates: time 0.009459/0.9742, allocations: 4.115 MB / 1.294 GB, free: 88 kB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.105140471830964]