Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001869/0.001869, allocations: 110 kB / 18.94 MB, free: 2.949 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.001834/0.001834, allocations: 186.4 kB / 22.23 MB, free: 5.137 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.491/1.491, allocations: 225.6 MB / 251 MB, free: 13 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.208/3.208, allocations: 496 MB / 0.7835 GB, free: 33.52 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.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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 70.2 kB / 1.138 GB, free: 33.77 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3796, allocations: 173.6 MB / 1.307 GB, free: 1.758 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006178/0.3858, allocations: 4.209 MB / 1.311 GB, free: 13.53 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.004032/0.3898, allocations: 2.429 MB / 1.314 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.3901, allocations: 8 kB / 1.314 GB, free: 11.08 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.001702/0.3918, allocations: 0.5574 MB / 1.314 GB, free: 10.52 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0004361/0.3922, allocations: 246 kB / 1.315 GB, free: 10.28 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.3925, allocations: 143.8 kB / 1.315 GB, free: 10.14 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0009181/0.3934, allocations: 0.8059 MB / 1.316 GB, free: 9.328 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004042/0.3938, allocations: 235 kB / 1.316 GB, free: 9.094 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003874/0.3942, allocations: 295 kB / 1.316 GB, free: 8.805 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004249/0.3946, allocations: 334.6 kB / 1.316 GB, free: 8.477 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.3947, allocations: 72 kB / 1.316 GB, free: 8.406 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3949, allocations: 76 kB / 1.316 GB, free: 8.332 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.395, allocations: 175.4 kB / 1.317 GB, free: 8.16 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003621/0.3954, allocations: 382.3 kB / 1.317 GB, free: 7.785 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.00107/0.3965, allocations: 0.9885 MB / 1.318 GB, free: 6.793 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3965, allocations: 0 / 1.318 GB, free: 6.793 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.433e-06/0.3965, allocations: 0 / 1.318 GB, free: 6.793 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.211e-05/0.3965, allocations: 0 / 1.318 GB, free: 6.793 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: 122
 * Number of variables: 122
Notification: Performance of Generate backend data structure: time 0.001553/0.398, allocations: 0.8938 MB / 1.319 GB, free: 5.867 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3981, allocations: 8.922 kB / 1.319 GB, free: 5.859 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.3982, allocations: 76.47 kB / 1.319 GB, free: 5.785 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007306/0.3989, allocations: 404.2 kB / 1.319 GB, free: 5.363 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.399, allocations: 37.38 kB / 1.319 GB, free: 5.328 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-05/0.3991, allocations: 52.36 kB / 1.319 GB, free: 5.277 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007899/0.3998, allocations: 434.7 kB / 1.32 GB, free: 4.848 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.3999, allocations: 4 kB / 1.32 GB, free: 4.844 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.3999, allocations: 20 kB / 1.32 GB, free: 4.824 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.3999, allocations: 8 kB / 1.32 GB, free: 4.816 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007326/0.4007, allocations: 371.8 kB / 1.32 GB, free: 4.453 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002201/0.4029, allocations: 1.48 MB / 1.322 GB, free: 2.906 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000551/0.4034, allocations: 310.9 kB / 1.322 GB, free: 2.59 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004883/0.4039, allocations: 288.5 kB / 1.322 GB, free: 2.305 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.4039, allocations: 4 kB / 1.322 GB, free: 2.301 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.404, allocations: 47.12 kB / 1.322 GB, free: 2.246 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=42): time 1.623e-06/0.404, allocations: 0 / 1.322 GB, free: 2.246 MB / 1.014 GB
Notification: Performance of matching and sorting (n=42): time 0.00102/0.405, allocations: 0.49 MB / 1.323 GB, free: 1.75 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.4051, allocations: 63.41 kB / 1.323 GB, free: 1.676 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006081/0.4057, allocations: 481.9 kB / 1.323 GB, free: 1.195 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.4057, allocations: 33.7 kB / 1.323 GB, free: 1.156 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.4059, allocations: 280.6 kB / 1.324 GB, free: 0.875 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.4061, allocations: 150.7 kB / 1.324 GB, free: 0.7266 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.4062, allocations: 62.08 kB / 1.324 GB, free: 0.6562 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001925/0.4064, allocations: 362.8 kB / 1.324 GB, free: 300 kB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.4066, allocations: 124.7 kB / 1.324 GB, free: 176 kB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.4069, allocations: 125.2 kB / 1.324 GB, free: 52 kB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000561/0.4074, allocations: 298.3 kB / 1.325 GB, free: 15.75 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4074, allocations: 0 / 1.325 GB, free: 15.75 MB / 1.029 GB
Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006925/0.4081, allocations: 412.4 kB / 1.325 GB, free: 15.34 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.4082, allocations: 4 kB / 1.325 GB, free: 15.34 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4082, allocations: 4 kB / 1.325 GB, free: 15.34 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4082, allocations: 0.7656 kB / 1.325 GB, free: 15.34 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.4087, allocations: 123.9 kB / 1.325 GB, free: 15.21 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4087, allocations: 4 kB / 1.325 GB, free: 15.21 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.4089, allocations: 31.77 kB / 1.325 GB, free: 15.18 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.4089, allocations: 12 kB / 1.325 GB, free: 15.17 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.0002357/0.4092, allocations: 197.8 kB / 1.325 GB, free: 14.96 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.172e-05/0.4092, allocations: 55.61 kB / 1.325 GB, free: 14.91 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.4094, allocations: 65.03 kB / 1.326 GB, free: 14.85 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.4094, allocations: 4 kB / 1.326 GB, free: 14.84 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.4094, allocations: 4 kB / 1.326 GB, free: 14.84 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4094, allocations: 3.984 kB / 1.326 GB, free: 14.84 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007211/0.4101, allocations: 0.5391 MB / 1.326 GB, free: 14.26 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4101, allocations: 0 / 1.326 GB, free: 14.26 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005277/0.4106, allocations: 127.8 kB / 1.326 GB, free: 14.13 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.4106, allocations: 7.984 kB / 1.326 GB, free: 14.12 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.4107, allocations: 8 kB / 1.326 GB, free: 14.12 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4107, allocations: 0 / 1.326 GB, free: 14.12 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4107, allocations: 0 / 1.326 GB, free: 14.12 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.4117, allocations: 0.6471 MB / 1.327 GB, free: 13.45 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.4118, allocations: 71.5 kB / 1.327 GB, free: 13.38 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.334e-05/0.4119, allocations: 16 kB / 1.327 GB, free: 13.37 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.4121, allocations: 8 kB / 1.327 GB, free: 13.36 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.4122, allocations: 27.94 kB / 1.327 GB, free: 13.33 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.4122, allocations: 12 kB / 1.327 GB, free: 13.32 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.000463/0.4127, allocations: 347.1 kB / 1.327 GB, free: 12.98 MB / 1.029 GB
Notification: Performance of sort global known variables: time 8e-08/0.4127, allocations: 3.938 kB / 1.327 GB, free: 12.98 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0004179/0.4131, allocations: 143.7 kB / 1.327 GB, free: 12.84 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.0001811/0.4132, allocations: 116 kB / 1.328 GB, free: 12.72 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0006526/0.4139, allocations: 303.9 kB / 1.328 GB, free: 12.42 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4139, allocations: 0 / 1.328 GB, free: 12.42 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.4142, allocations: 163.8 kB / 1.328 GB, free: 12.26 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006582/0.4149, allocations: 131.2 kB / 1.328 GB, free: 12.14 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.4171, allocations: 1.208 MB / 1.329 GB, free: 10.89 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000644/0.4178, allocations: 0.8665 MB / 1.33 GB, free: 10 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0002298/0.418, allocations: 64.28 kB / 1.33 GB, free: 9.941 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.4181, allocations: 35.44 kB / 1.33 GB, free: 9.906 MB / 1.029 GB
Notification: Performance of SimCode: time 3.91e-07/0.4181, allocations: 0 / 1.33 GB, free: 9.906 MB / 1.029 GB
Notification: Performance of Templates: time 0.01447/0.4326, allocations: 6.265 MB / 1.336 GB, free: 3.785 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.484087910503149]