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.InternalResistancesOneUTubeNegative.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.001512/0.001512, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.00166/0.00166, allocations: 190.7 kB / 22.11 MB, free: 5.152 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.55/1.55, allocations: 225.6 MB / 250.8 MB, free: 13.09 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.312/3.312, allocations: 495.8 MB / 0.783 GB, free: 33.58 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative")
translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002923/0.002923, allocations: 69.08 kB / 1.137 GB, free: 33.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4641/0.467, allocations: 173.6 MB / 1.307 GB, free: 1.824 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002997/0.47, allocations: 1.457 MB / 1.308 GB, free: 364 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.00522/0.4752, allocations: 2.898 MB / 1.311 GB, free: 13.44 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/0.4752, allocations: 0 / 1.311 GB, free: 13.44 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.319e-05/0.4753, allocations: 3.938 kB / 1.311 GB, free: 13.44 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 7.962e-05/0.4753, allocations: 19.84 kB / 1.311 GB, free: 13.42 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004349/0.4797, allocations: 1.614 MB / 1.313 GB, free: 11.82 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001334/0.4798, allocations: 39.73 kB / 1.313 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.551e-05/0.4799, allocations: 4 kB / 1.313 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.329e-05/0.4799, allocations: 19.94 kB / 1.313 GB, free: 11.76 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.246e-05/0.4799, allocations: 15.92 kB / 1.313 GB, free: 11.74 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.48, allocations: 3.938 kB / 1.313 GB, free: 11.74 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.4824, allocations: 1.533 MB / 1.314 GB, free: 10.2 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.4825, allocations: 7.938 kB / 1.314 GB, free: 10.2 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.4825, allocations: 15.88 kB / 1.314 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.001569/0.4841, allocations: 1.06 MB / 1.315 GB, free: 9.117 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4841, allocations: 0 / 1.315 GB, free: 9.117 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.583e-06/0.4841, allocations: 0 / 1.315 GB, free: 9.117 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.712e-06/0.4841, allocations: 4 kB / 1.315 GB, free: 9.113 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: 0
 * Number of variables: 0
Notification: Performance of Generate backend data structure: time 0.0006792/0.4847, allocations: 464.1 kB / 1.316 GB, free: 8.629 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4848, allocations: 8.031 kB / 1.316 GB, free: 8.621 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.12e-05/0.4849, allocations: 80.22 kB / 1.316 GB, free: 8.543 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.485, allocations: 197.7 kB / 1.316 GB, free: 8.324 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-05/0.4851, allocations: 150.9 kB / 1.316 GB, free: 8.176 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-05/0.4852, allocations: 150.9 kB / 1.316 GB, free: 8.027 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.716e-05/0.4853, allocations: 113.1 kB / 1.316 GB, free: 7.91 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.4853, allocations: 75.28 kB / 1.316 GB, free: 7.836 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.502e-05/0.4854, allocations: 154.6 kB / 1.317 GB, free: 7.684 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-05/0.4854, allocations: 150.6 kB / 1.317 GB, free: 7.535 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.33e-05/0.4855, allocations: 158.5 kB / 1.317 GB, free: 7.379 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.4859, allocations: 441 kB / 1.317 GB, free: 6.906 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.486, allocations: 165.1 kB / 1.318 GB, free: 6.734 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.089e-05/0.486, allocations: 80.14 kB / 1.318 GB, free: 6.652 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.486, allocations: 75.28 kB / 1.318 GB, free: 6.578 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.804e-05/0.4861, allocations: 121.7 kB / 1.318 GB, free: 6.449 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.4861, allocations: 0 / 1.318 GB, free: 6.449 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 8.156e-05/0.4862, allocations: 29.69 kB / 1.318 GB, free: 6.414 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.4863, allocations: 126.7 kB / 1.318 GB, free: 6.277 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.4864, allocations: 139.8 kB / 1.318 GB, free: 6.133 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.4865, allocations: 33.69 kB / 1.318 GB, free: 6.094 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.4865, allocations: 88.09 kB / 1.318 GB, free: 6.004 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.4865, allocations: 0 / 1.318 GB, free: 6.004 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.4866, allocations: 21.72 kB / 1.318 GB, free: 5.977 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001582/0.4867, allocations: 322.8 kB / 1.318 GB, free: 5.652 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.592e-05/0.4868, allocations: 7.938 kB / 1.319 GB, free: 5.645 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.4868, allocations: 0 / 1.319 GB, free: 5.645 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.362e-05/0.4868, allocations: 20.8 kB / 1.319 GB, free: 5.621 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4868, allocations: 0 / 1.319 GB, free: 5.621 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001351/0.487, allocations: 45.62 kB / 1.319 GB, free: 5.57 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.487, allocations: 4 kB / 1.319 GB, free: 5.566 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.487, allocations: 4 kB / 1.319 GB, free: 5.562 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.487, allocations: 4.062 kB / 1.319 GB, free: 5.559 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.487, allocations: 0 / 1.319 GB, free: 5.559 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.487, allocations: 3.938 kB / 1.319 GB, free: 5.555 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.487, allocations: 11.89 kB / 1.319 GB, free: 5.543 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.487, allocations: 0 / 1.319 GB, free: 5.543 MB / 1.014 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 0.0001211/0.4872, allocations: 189.9 kB / 1.319 GB, free: 5.348 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.2e-05/0.4872, allocations: 116.8 kB / 1.319 GB, free: 5.227 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.247e-05/0.4873, allocations: 112.8 kB / 1.319 GB, free: 5.109 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.463e-05/0.4874, allocations: 176.3 kB / 1.319 GB, free: 4.93 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00011/0.4875, allocations: 184.2 kB / 1.319 GB, free: 4.742 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.765e-05/0.4876, allocations: 180.2 kB / 1.32 GB, free: 4.559 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.4879, allocations: 384.3 kB / 1.32 GB, free: 4.133 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-05/0.4879, allocations: 112.9 kB / 1.32 GB, free: 4.016 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/0.488, allocations: 109 kB / 1.32 GB, free: 3.902 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.191e-05/0.4881, allocations: 184.2 kB / 1.32 GB, free: 3.715 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.984e-05/0.4882, allocations: 180.2 kB / 1.32 GB, free: 3.531 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.465e-05/0.4883, allocations: 180.2 kB / 1.321 GB, free: 3.348 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.379e-05/0.4883, allocations: 180.3 kB / 1.321 GB, free: 3.164 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.4885, allocations: 311.7 kB / 1.321 GB, free: 2.836 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/0.4886, allocations: 116.9 kB / 1.321 GB, free: 2.715 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.4887, allocations: 180.2 kB / 1.321 GB, free: 2.531 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.532e-05/0.4888, allocations: 101 kB / 1.321 GB, free: 2.426 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.4889, allocations: 180.2 kB / 1.322 GB, free: 2.242 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/0.4889, allocations: 113 kB / 1.322 GB, free: 2.125 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 7.119e-05/0.489, allocations: 99.25 kB / 1.322 GB, free: 2.027 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.489, allocations: 0 / 1.322 GB, free: 2.027 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0008237/0.4898, allocations: 279 kB / 1.322 GB, free: 1.754 MB / 1.014 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.001124/0.491, allocations: 0.5168 MB / 1.323 GB, free: 1.227 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.000108/0.4911, allocations: 41.69 kB / 1.323 GB, free: 1.18 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4911, allocations: 4 kB / 1.323 GB, free: 1.176 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 3.988e-06/0.4911, allocations: 3.938 kB / 1.323 GB, free: 1.172 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.4916, allocations: 462.5 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.4919, allocations: 234 kB / 1.323 GB, free: 472 kB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.4923, allocations: 0.6807 MB / 1.324 GB, free: 15.75 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 1.661e-05/0.4923, allocations: 7.938 kB / 1.324 GB, free: 15.75 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.386e-05/0.4923, allocations: 7.438 kB / 1.324 GB, free: 15.74 MB / 1.029 GB
Notification: Performance of SimCode: time 5.11e-07/0.4923, allocations: 0 / 1.324 GB, free: 15.74 MB / 1.029 GB
Notification: Performance of Templates: time 0.01068/0.503, allocations: 5.488 MB / 1.329 GB, free: 10.3 MB / 1.029 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.77526659797877]