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.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.001617/0.001617, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.00189/0.00189, allocations: 190.7 kB / 22.1 MB, free: 4.305 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.515/1.515, allocations: 225.6 MB / 250.8 MB, free: 2.914 MB / 190.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.014/3.014, allocations: 495.8 MB / 0.783 GB, free: 12.23 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube")
translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 63.89 kB / 1.137 GB, free: 12.1 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.128/1.13, allocations: 173.6 MB / 1.307 GB, free: 33.8 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002448/1.132, allocations: 1.456 MB / 1.308 GB, free: 32.78 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.004049/1.136, allocations: 2.934 MB / 1.311 GB, free: 30.77 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/1.136, allocations: 0 / 1.311 GB, free: 30.77 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 2.22e-05/1.137, allocations: 3.281 kB / 1.311 GB, free: 30.77 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 6.338e-05/1.137, allocations: 14.59 kB / 1.311 GB, free: 30.76 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00366/1.14, allocations: 1.646 MB / 1.313 GB, free: 29.96 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 9.767e-05/1.14, allocations: 48.86 kB / 1.313 GB, free: 29.94 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.965e-05/1.14, allocations: 6.75 kB / 1.313 GB, free: 29.93 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.689e-05/1.14, allocations: 15.73 kB / 1.313 GB, free: 29.93 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.736e-05/1.14, allocations: 20.53 kB / 1.313 GB, free: 29.92 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 1.167e-05/1.14, allocations: 0 / 1.313 GB, free: 29.92 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.00198/1.142, allocations: 1.568 MB / 1.314 GB, free: 29.43 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 1.569e-05/1.142, allocations: 3.328 kB / 1.314 GB, free: 29.43 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 3.201e-05/1.142, allocations: 20.66 kB / 1.314 GB, free: 29.42 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0012/1.144, allocations: 1.082 MB / 1.315 GB, free: 29.14 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.144, allocations: 0 / 1.315 GB, free: 29.14 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.503e-06/1.144, allocations: 4 kB / 1.315 GB, free: 29.13 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 5.791e-06/1.144, allocations: 0 / 1.315 GB, free: 29.13 MB / 1.061 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.0005373/1.144, allocations: 469.5 kB / 1.316 GB, free: 28.72 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/1.144, allocations: 7.812 kB / 1.316 GB, free: 28.72 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/1.144, allocations: 82.83 kB / 1.316 GB, free: 28.64 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/1.144, allocations: 198.2 kB / 1.316 GB, free: 28.43 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/1.144, allocations: 158.9 kB / 1.316 GB, free: 28.28 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/1.145, allocations: 157.6 kB / 1.316 GB, free: 28.12 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 5.166e-05/1.145, allocations: 105.1 kB / 1.317 GB, free: 28.02 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/1.145, allocations: 79.28 kB / 1.317 GB, free: 27.94 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/1.145, allocations: 150.6 kB / 1.317 GB, free: 27.79 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/1.145, allocations: 150.6 kB / 1.317 GB, free: 27.64 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.047e-05/1.145, allocations: 161.1 kB / 1.317 GB, free: 27.48 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002139/1.145, allocations: 432.6 kB / 1.317 GB, free: 27.04 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.305e-05/1.145, allocations: 171.9 kB / 1.318 GB, free: 26.86 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/1.145, allocations: 80.14 kB / 1.318 GB, free: 26.78 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/1.145, allocations: 75.28 kB / 1.318 GB, free: 26.7 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/1.145, allocations: 113.8 kB / 1.318 GB, free: 26.58 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=0): time 9.82e-07/1.145, allocations: 6.969 kB / 1.318 GB, free: 26.58 MB / 1.061 GB
Notification: Performance of matching and sorting (n=0): time 7.463e-05/1.145, allocations: 33.03 kB / 1.318 GB, free: 26.54 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/1.145, allocations: 129.4 kB / 1.318 GB, free: 26.41 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/1.145, allocations: 135.7 kB / 1.318 GB, free: 26.29 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 8.576e-06/1.145, allocations: 25.7 kB / 1.318 GB, free: 26.26 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/1.145, allocations: 98.27 kB / 1.318 GB, free: 26.17 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/1.145, allocations: 0 / 1.318 GB, free: 26.17 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/1.145, allocations: 14.72 kB / 1.318 GB, free: 26.15 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 5.304e-05/1.145, allocations: 318.1 kB / 1.319 GB, free: 25.84 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.34e-05/1.145, allocations: 5.625 kB / 1.319 GB, free: 25.84 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/1.145, allocations: 7.062 kB / 1.319 GB, free: 25.83 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.811e-05/1.145, allocations: 18.67 kB / 1.319 GB, free: 25.82 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.145, allocations: 0 / 1.319 GB, free: 25.82 MB / 1.061 GB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001264/1.146, allocations: 54.64 kB / 1.319 GB, free: 25.77 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.146, allocations: 11.28 kB / 1.319 GB, free: 25.77 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/1.146, allocations: 3.188 kB / 1.319 GB, free: 25.77 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.146, allocations: 2.688 kB / 1.319 GB, free: 25.77 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/1.146, allocations: 3.938 kB / 1.319 GB, free: 25.77 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/1.146, allocations: 0 / 1.319 GB, free: 25.77 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/1.146, allocations: 0 / 1.319 GB, free: 25.77 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/1.146, allocations: 9.875 kB / 1.319 GB, free: 25.76 MB / 1.061 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 7.938e-05/1.146, allocations: 185.1 kB / 1.319 GB, free: 25.57 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/1.146, allocations: 123.5 kB / 1.319 GB, free: 25.45 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/1.146, allocations: 110.9 kB / 1.319 GB, free: 25.33 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/1.146, allocations: 182.7 kB / 1.319 GB, free: 25.15 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.157e-05/1.146, allocations: 184.2 kB / 1.32 GB, free: 24.96 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-05/1.146, allocations: 176.3 kB / 1.32 GB, free: 24.78 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/1.146, allocations: 386.9 kB / 1.32 GB, free: 24.37 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-05/1.146, allocations: 108.9 kB / 1.32 GB, free: 24.25 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/1.146, allocations: 107.7 kB / 1.32 GB, free: 24.14 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.4e-05/1.146, allocations: 180.2 kB / 1.32 GB, free: 23.96 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/1.146, allocations: 183.5 kB / 1.321 GB, free: 23.78 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-05/1.146, allocations: 182.9 kB / 1.321 GB, free: 23.59 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.594e-05/1.146, allocations: 180.3 kB / 1.321 GB, free: 23.41 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/1.146, allocations: 312.5 kB / 1.321 GB, free: 23.09 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/1.146, allocations: 111.7 kB / 1.321 GB, free: 22.98 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/1.146, allocations: 182.8 kB / 1.322 GB, free: 22.79 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.531e-05/1.146, allocations: 105 kB / 1.322 GB, free: 22.68 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/1.147, allocations: 191.4 kB / 1.322 GB, free: 22.49 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/1.147, allocations: 103.9 kB / 1.322 GB, free: 22.39 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 4.386e-05/1.147, allocations: 101.2 kB / 1.322 GB, free: 22.3 MB / 1.061 GB
Notification: Performance of sort global known variables: time 7e-08/1.147, allocations: 0 / 1.322 GB, free: 22.3 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0007815/1.147, allocations: 288.1 kB / 1.322 GB, free: 22.23 MB / 1.061 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.001075/1.148, allocations: 0.5309 MB / 1.323 GB, free: 21.96 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0001144/1.149, allocations: 40.64 kB / 1.323 GB, free: 21.93 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.149, allocations: 0 / 1.323 GB, free: 21.93 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 3.787e-06/1.149, allocations: 6.188 kB / 1.323 GB, free: 21.93 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/1.149, allocations: 466.1 kB / 1.323 GB, free: 21.47 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/1.149, allocations: 242.9 kB / 1.324 GB, free: 21.26 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/1.149, allocations: 0.6825 MB / 1.324 GB, free: 20.56 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 1.459e-05/1.149, allocations: 3.984 kB / 1.324 GB, free: 20.56 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.435e-05/1.149, allocations: 10.41 kB / 1.324 GB, free: 20.55 MB / 1.061 GB
Notification: Performance of SimCode: time 3.21e-07/1.149, allocations: 7.938 kB / 1.324 GB, free: 20.54 MB / 1.061 GB
Notification: Performance of Templates: time 0.01018/1.16, allocations: 5.636 MB / 1.33 GB, free: 20.13 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.996213629841805]