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.001642/0.001642, allocations: 106 kB / 18.94 MB, free: 2.953 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.001859/0.001859, allocations: 197.4 kB / 22.23 MB, free: 5.129 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.465/1.465, allocations: 225.6 MB / 251 MB, free: 13.05 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.244/3.244, allocations: 496 MB / 0.7835 GB, free: 33.66 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.001994/0.001994, allocations: 66.52 kB / 1.138 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4144, allocations: 173.6 MB / 1.307 GB, free: 1.836 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00313/0.4175, allocations: 1.463 MB / 1.309 GB, free: 368 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.005115/0.4226, allocations: 2.895 MB / 1.312 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.303e-05/0.4227, allocations: 4 kB / 1.312 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.929e-05/0.4227, allocations: 3.938 kB / 1.312 GB, free: 13.44 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 7.115e-05/0.4228, allocations: 11.86 kB / 1.312 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004486/0.4273, allocations: 1.631 MB / 1.313 GB, free: 11.81 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 9.203e-05/0.4274, allocations: 43.67 kB / 1.313 GB, free: 11.77 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.4274, allocations: 4 kB / 1.313 GB, free: 11.77 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.943e-05/0.4274, allocations: 11.94 kB / 1.313 GB, free: 11.75 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.131e-05/0.4275, allocations: 19.92 kB / 1.313 GB, free: 11.73 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.4275, allocations: 0 / 1.313 GB, free: 11.73 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003025/0.4305, allocations: 1.7 MB / 1.315 GB, free: 10.03 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.254e-05/0.4305, allocations: 3.938 kB / 1.315 GB, free: 10.03 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 5.318e-05/0.4306, allocations: 19.88 kB / 1.315 GB, free: 10.01 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.002557/0.4331, allocations: 1.107 MB / 1.316 GB, free: 8.898 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4331, allocations: 0 / 1.316 GB, free: 8.898 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.394e-06/0.4331, allocations: 0 / 1.316 GB, free: 8.898 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.182e-06/0.4332, allocations: 0 / 1.316 GB, free: 8.898 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.0008617/0.434, allocations: 452.2 kB / 1.316 GB, free: 8.426 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.4341, allocations: 16.92 kB / 1.317 GB, free: 8.41 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.599e-05/0.4341, allocations: 84.17 kB / 1.317 GB, free: 8.328 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.4343, allocations: 197.7 kB / 1.317 GB, free: 8.109 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.779e-05/0.4344, allocations: 150.9 kB / 1.317 GB, free: 7.961 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.248e-05/0.4345, allocations: 154.9 kB / 1.317 GB, free: 7.809 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.604e-05/0.4346, allocations: 113.1 kB / 1.317 GB, free: 7.691 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/0.4346, allocations: 79.28 kB / 1.317 GB, free: 7.613 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.968e-05/0.4347, allocations: 150.6 kB / 1.317 GB, free: 7.465 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.568e-05/0.4348, allocations: 154.5 kB / 1.318 GB, free: 7.312 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.104e-05/0.4349, allocations: 154.6 kB / 1.318 GB, free: 7.16 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.4352, allocations: 433 kB / 1.318 GB, free: 6.695 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.4353, allocations: 177.1 kB / 1.318 GB, free: 6.512 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.05e-05/0.4354, allocations: 80.14 kB / 1.318 GB, free: 6.43 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.4354, allocations: 75.28 kB / 1.318 GB, free: 6.355 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.153e-05/0.4355, allocations: 109.8 kB / 1.319 GB, free: 6.238 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.4355, allocations: 0 / 1.319 GB, free: 6.238 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 9.164e-05/0.4356, allocations: 33.66 kB / 1.319 GB, free: 6.199 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.4357, allocations: 134.6 kB / 1.319 GB, free: 6.055 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.4358, allocations: 135.6 kB / 1.319 GB, free: 5.914 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.4359, allocations: 29.64 kB / 1.319 GB, free: 5.879 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.4359, allocations: 92.12 kB / 1.319 GB, free: 5.785 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.4359, allocations: 3.938 kB / 1.319 GB, free: 5.781 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.436, allocations: 17.72 kB / 1.319 GB, free: 5.758 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001471/0.4361, allocations: 318.8 kB / 1.319 GB, free: 5.438 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.4361, allocations: 8 kB / 1.319 GB, free: 5.43 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.682e-05/0.4362, allocations: 4 kB / 1.319 GB, free: 5.426 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.263e-05/0.4362, allocations: 16.86 kB / 1.319 GB, free: 5.406 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4362, allocations: 0 / 1.319 GB, free: 5.406 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001489/0.4363, allocations: 53.52 kB / 1.319 GB, free: 5.348 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.4364, allocations: 4 kB / 1.319 GB, free: 5.344 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.4364, allocations: 4 kB / 1.319 GB, free: 5.34 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.4364, allocations: 0 / 1.319 GB, free: 5.34 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.4364, allocations: 0 / 1.319 GB, free: 5.34 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.4364, allocations: 0 / 1.319 GB, free: 5.34 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.4364, allocations: 12 kB / 1.319 GB, free: 5.328 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.4364, allocations: 0 / 1.319 GB, free: 5.328 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.0001242/0.4366, allocations: 189.9 kB / 1.32 GB, free: 5.133 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.582e-05/0.4366, allocations: 112.9 kB / 1.32 GB, free: 5.016 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.246e-05/0.4367, allocations: 112.7 kB / 1.32 GB, free: 4.898 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.596e-05/0.4368, allocations: 180.3 kB / 1.32 GB, free: 4.715 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-05/0.4369, allocations: 180.3 kB / 1.32 GB, free: 4.531 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-05/0.437, allocations: 184.2 kB / 1.32 GB, free: 4.344 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.4372, allocations: 388.3 kB / 1.321 GB, free: 3.914 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.034e-05/0.4373, allocations: 112.9 kB / 1.321 GB, free: 3.797 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.4373, allocations: 101 kB / 1.321 GB, free: 3.691 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.847e-05/0.4374, allocations: 184.3 kB / 1.321 GB, free: 3.504 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-05/0.4375, allocations: 184.2 kB / 1.321 GB, free: 3.316 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.613e-05/0.4376, allocations: 176.3 kB / 1.321 GB, free: 3.137 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.27e-05/0.4377, allocations: 184.2 kB / 1.322 GB, free: 2.949 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.4379, allocations: 311.7 kB / 1.322 GB, free: 2.621 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.192e-05/0.438, allocations: 112.9 kB / 1.322 GB, free: 2.504 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.4381, allocations: 184.2 kB / 1.322 GB, free: 2.316 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.4382, allocations: 104.9 kB / 1.322 GB, free: 2.207 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.4383, allocations: 176.3 kB / 1.322 GB, free: 2.027 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-05/0.4383, allocations: 104.9 kB / 1.322 GB, free: 1.918 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 8.335e-05/0.4384, allocations: 113.1 kB / 1.323 GB, free: 1.809 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4384, allocations: 4 kB / 1.323 GB, free: 1.805 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0009944/0.4394, allocations: 279 kB / 1.323 GB, free: 1.531 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.001161/0.4406, allocations: 0.5168 MB / 1.323 GB, free: 1.004 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001109/0.4407, allocations: 33.7 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4407, allocations: 0 / 1.323 GB, free: 0.9648 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 4.208e-06/0.4407, allocations: 12 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.4412, allocations: 463.6 kB / 1.324 GB, free: 0.4961 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.4415, allocations: 224.8 kB / 1.324 GB, free: 252 kB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.4419, allocations: 0.6923 MB / 1.325 GB, free: 15.53 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 1.463e-05/0.4419, allocations: 4.031 kB / 1.325 GB, free: 15.52 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.4419, allocations: 11.44 kB / 1.325 GB, free: 15.51 MB / 1.029 GB
Notification: Performance of SimCode: time 3.8e-07/0.4419, allocations: 0 / 1.325 GB, free: 15.51 MB / 1.029 GB
Notification: Performance of Templates: time 0.01076/0.4527, allocations: 5.484 MB / 1.33 GB, free: 10.08 MB / 1.029 GB
"
[Timeout remaining time 300]
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.555518539622426]