Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001568/0.001568, allocations: 112.7 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.001657/0.001657, allocations: 190.3 kB / 22.22 MB, free: 5.105 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.432/1.432, 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.755/2.755, allocations: 476.7 MB / 0.7646 GB, free: 9.898 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.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 63.88 kB / 1.11 GB, free: 6.309 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8721/0.8743, allocations: 168.8 MB / 1.274 GB, free: 4.25 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006016/0.8804, allocations: 4.215 MB / 1.279 GB, free: 16 kB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.003859/0.8842, allocations: 2.413 MB / 1.281 GB, free: 13.59 MB / 0.9825 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.8845, allocations: 8 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB
Notification: Performance of NFTyping.typeComponents: time 0.001534/0.886, allocations: 0.5536 MB / 1.281 GB, free: 13.04 MB / 0.9825 GB
Notification: Performance of NFTyping.typeBindings: time 0.0004923/0.8865, allocations: 250 kB / 1.282 GB, free: 12.79 MB / 0.9825 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.8868, allocations: 135.9 kB / 1.282 GB, free: 12.66 MB / 0.9825 GB
Notification: Performance of NFFlatten.flatten: time 0.0008968/0.8877, allocations: 0.8214 MB / 1.283 GB, free: 11.84 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003936/0.8881, allocations: 231 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003846/0.8885, allocations: 298.9 kB / 1.283 GB, free: 11.31 MB / 0.9825 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004386/0.8889, allocations: 338.5 kB / 1.283 GB, free: 10.98 MB / 0.9825 GB
Notification: Performance of NFPackage.collectConstants: time 9.254e-05/0.889, allocations: 72 kB / 1.283 GB, free: 10.91 MB / 0.9825 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.8891, allocations: 76 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.8893, allocations: 167.4 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003858/0.8897, allocations: 390.2 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.001106/0.8908, allocations: 0.9923 MB / 1.285 GB, free: 9.293 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.8908, allocations: 4 kB / 1.285 GB, free: 9.289 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 2.064e-06/0.8908, allocations: 0 / 1.285 GB, free: 9.289 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 1.236e-05/0.8908, allocations: 0 / 1.285 GB, free: 9.289 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: 122
 * Number of variables: 122
Notification: Performance of Generate backend data structure: time 0.001551/0.8924, allocations: 0.8977 MB / 1.286 GB, free: 8.355 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.8924, allocations: 12.02 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.8925, allocations: 76.47 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006995/0.8932, allocations: 400.2 kB / 1.286 GB, free: 7.855 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/0.8933, allocations: 41.38 kB / 1.286 GB, free: 7.812 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.142e-05/0.8934, allocations: 56.27 kB / 1.286 GB, free: 7.758 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007729/0.8941, allocations: 426.8 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.8942, allocations: 3.984 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.237e-05/0.8942, allocations: 20 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.8942, allocations: 12 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007191/0.8949, allocations: 363.8 kB / 1.287 GB, free: 6.949 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.8971, allocations: 1.476 MB / 1.289 GB, free: 5.406 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005505/0.8977, allocations: 315 kB / 1.289 GB, free: 5.086 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/0.8982, allocations: 292.6 kB / 1.289 GB, free: 4.801 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.8982, allocations: 4 kB / 1.289 GB, free: 4.797 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.8982, allocations: 42.28 kB / 1.289 GB, free: 4.746 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=42): time 2.455e-06/0.8982, allocations: 0 / 1.289 GB, free: 4.746 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=42): time 0.0009879/0.8992, allocations: 497.8 kB / 1.29 GB, free: 4.254 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.8993, allocations: 59.41 kB / 1.29 GB, free: 4.184 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005886/0.8999, allocations: 489.9 kB / 1.29 GB, free: 3.699 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.8999, allocations: 37.64 kB / 1.29 GB, free: 3.656 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.9001, allocations: 280.6 kB / 1.291 GB, free: 3.375 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.9003, allocations: 150.7 kB / 1.291 GB, free: 3.227 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.9004, allocations: 66.06 kB / 1.291 GB, free: 3.152 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001863/0.9005, allocations: 362.8 kB / 1.291 GB, free: 2.789 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.9008, allocations: 116.7 kB / 1.291 GB, free: 2.676 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.901, allocations: 133.2 kB / 1.291 GB, free: 2.547 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005191/0.9016, allocations: 290.2 kB / 1.292 GB, free: 2.262 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9016, allocations: 0 / 1.292 GB, free: 2.262 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006643/0.9022, allocations: 400.7 kB / 1.292 GB, free: 1.863 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.9022, allocations: 10.03 kB / 1.292 GB, free: 1.855 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.9022, allocations: 0 / 1.292 GB, free: 1.855 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.9023, allocations: 7.938 kB / 1.292 GB, free: 1.848 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/0.9028, allocations: 123.9 kB / 1.292 GB, free: 1.727 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.9028, allocations: 7.984 kB / 1.292 GB, free: 1.719 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.903, allocations: 39.67 kB / 1.292 GB, free: 1.68 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.903, allocations: 8 kB / 1.292 GB, free: 1.672 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 (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.0002351/0.9032, allocations: 199.7 kB / 1.292 GB, free: 1.469 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.374e-05/0.9033, allocations: 55.61 kB / 1.293 GB, free: 1.414 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.9034, allocations: 65.09 kB / 1.293 GB, free: 1.348 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.9034, allocations: 4 kB / 1.293 GB, free: 1.344 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.9035, allocations: 0 / 1.293 GB, free: 1.344 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.9035, allocations: 4 kB / 1.293 GB, free: 1.34 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007222/0.9042, allocations: 0.5392 MB / 1.293 GB, free: 0.7578 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9042, allocations: 0 / 1.293 GB, free: 0.7578 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004976/0.9047, allocations: 127.8 kB / 1.293 GB, free: 0.6328 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.9047, allocations: 3.938 kB / 1.293 GB, free: 0.6289 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.9047, allocations: 12 kB / 1.293 GB, free: 0.6172 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.9047, allocations: 4 kB / 1.293 GB, free: 0.6133 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.9047, allocations: 0 / 1.293 GB, free: 0.6133 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.9058, allocations: 0.6589 MB / 1.294 GB, free: 15.93 MB / 0.9981 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.9059, allocations: 63.52 kB / 1.294 GB, free: 15.87 MB / 0.9981 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.587e-05/0.9059, allocations: 8 kB / 1.294 GB, free: 15.86 MB / 0.9981 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.9061, allocations: 15.98 kB / 1.294 GB, free: 15.85 MB / 0.9981 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/0.9062, allocations: 27.95 kB / 1.294 GB, free: 15.82 MB / 0.9981 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.9062, allocations: 8 kB / 1.294 GB, free: 15.81 MB / 0.9981 GB
Notification: Performance of sorting global known variables: time 0.0004052/0.9066, allocations: 351.1 kB / 1.294 GB, free: 15.48 MB / 0.9981 GB
Notification: Performance of sort global known variables: time 9.1e-08/0.9066, allocations: 0 / 1.294 GB, free: 15.48 MB / 0.9981 GB
Notification: Performance of remove unused functions: time 0.0004054/0.907, allocations: 147.7 kB / 1.294 GB, free: 15.33 MB / 0.9981 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.0001713/0.9072, allocations: 107.2 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB
Notification: Performance of simCode: created initialization part: time 0.0006107/0.9078, allocations: 311.7 kB / 1.295 GB, free: 14.91 MB / 0.9981 GB
Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9078, allocations: 4 kB / 1.295 GB, free: 14.91 MB / 0.9981 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.9081, allocations: 171.7 kB / 1.295 GB, free: 14.74 MB / 0.9981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006146/0.9087, allocations: 114.4 kB / 1.295 GB, free: 14.63 MB / 0.9981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.9107, allocations: 1.218 MB / 1.296 GB, free: 13.38 MB / 0.9981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.9112, allocations: 0.8665 MB / 1.297 GB, free: 12.49 MB / 0.9981 GB
Notification: Performance of simCode: alias equations: time 0.0001923/0.9114, allocations: 52.38 kB / 1.297 GB, free: 12.44 MB / 0.9981 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.839e-05/0.9115, allocations: 39.44 kB / 1.297 GB, free: 12.4 MB / 0.9981 GB
Notification: Performance of SimCode: time 5.51e-07/0.9115, allocations: 0 / 1.297 GB, free: 12.4 MB / 0.9981 GB
Notification: Performance of Templates: time 0.01299/0.9245, allocations: 6.274 MB / 1.303 GB, free: 6.258 MB / 0.9981 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.054791913367808]