Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002179/0.002179, 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.002952/0.002952, allocations: 188.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.548/1.548, allocations: 225.6 MB / 251 MB, free: 13.04 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.909/2.909, allocations: 476.7 MB / 0.7646 GB, free: 9.922 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 63.88 kB / 1.11 GB, free: 6.293 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 168.8 MB / 1.274 GB, free: 4.223 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002889/1.029, allocations: 1.445 MB / 1.276 GB, free: 2.77 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.005362/1.034, allocations: 2.9 MB / 1.279 GB, free: 15.85 MB / 0.9825 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.977e-05/1.034, allocations: 4 kB / 1.279 GB, free: 15.85 MB / 0.9825 GB
Notification: Performance of NFTyping.typeComponents: time 2.907e-05/1.034, allocations: 7.938 kB / 1.279 GB, free: 15.84 MB / 0.9825 GB
Notification: Performance of NFTyping.typeBindings: time 7.801e-05/1.034, allocations: 15.8 kB / 1.279 GB, free: 15.82 MB / 0.9825 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004533/1.039, allocations: 1.62 MB / 1.28 GB, free: 14.23 MB / 0.9825 GB
Notification: Performance of NFFlatten.flatten: time 0.0001073/1.039, allocations: 39.73 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/1.039, allocations: 4 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.299e-05/1.039, allocations: 15.94 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.608e-05/1.039, allocations: 19.86 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB
Notification: Performance of NFPackage.collectConstants: time 1.234e-05/1.039, allocations: 0 / 1.28 GB, free: 14.15 MB / 0.9825 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002706/1.042, allocations: 1.692 MB / 1.282 GB, free: 12.45 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 1.434e-05/1.042, allocations: 0 / 1.282 GB, free: 12.45 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 3.832e-05/1.042, allocations: 19.88 kB / 1.282 GB, free: 12.43 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.00172/1.043, allocations: 1.106 MB / 1.283 GB, free: 11.33 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.043, allocations: 0 / 1.283 GB, free: 11.33 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 2.093e-06/1.043, allocations: 0 / 1.283 GB, free: 11.33 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 6.222e-06/1.043, allocations: 0 / 1.283 GB, free: 11.33 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: 0
 * Number of variables: 0
Notification: Performance of Generate backend data structure: time 0.0007501/1.044, allocations: 464.1 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/1.044, allocations: 12.03 kB / 1.284 GB, free: 10.83 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.912e-05/1.044, allocations: 84.17 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/1.045, allocations: 195.6 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.324e-05/1.045, allocations: 150.9 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.316e-05/1.045, allocations: 150.9 kB / 1.284 GB, free: 10.24 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/1.045, allocations: 109 kB / 1.284 GB, free: 10.12 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 5.185e-05/1.045, allocations: 75.28 kB / 1.284 GB, free: 10.05 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.157e-05/1.045, allocations: 162.5 kB / 1.284 GB, free: 9.891 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.27e-05/1.045, allocations: 150.6 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.068e-05/1.045, allocations: 158.6 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/1.045, allocations: 436.9 kB / 1.285 GB, free: 9.117 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/1.046, allocations: 173.1 kB / 1.285 GB, free: 8.938 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/1.046, allocations: 80.14 kB / 1.285 GB, free: 8.855 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/1.046, allocations: 75.28 kB / 1.285 GB, free: 8.781 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.149e-05/1.046, allocations: 113.7 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=0): time 2.605e-06/1.046, allocations: 7.922 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=0): time 9.942e-05/1.046, allocations: 33.66 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/1.046, allocations: 134.7 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/1.046, allocations: 135.5 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 1.682e-05/1.046, allocations: 25.7 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/1.046, allocations: 96.12 kB / 1.286 GB, free: 8.199 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/1.046, allocations: 0 / 1.286 GB, free: 8.199 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/1.046, allocations: 13.72 kB / 1.286 GB, free: 8.18 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001792/1.046, allocations: 318.8 kB / 1.286 GB, free: 7.859 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.423e-05/1.046, allocations: 3.984 kB / 1.286 GB, free: 7.855 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.778e-05/1.046, allocations: 12 kB / 1.286 GB, free: 7.844 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.057e-05/1.046, allocations: 12.86 kB / 1.286 GB, free: 7.828 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.046, allocations: 4 kB / 1.286 GB, free: 7.824 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001416/1.047, allocations: 49.59 kB / 1.286 GB, free: 7.77 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/1.047, allocations: 7.984 kB / 1.286 GB, free: 7.762 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/1.047, allocations: 7.984 kB / 1.286 GB, free: 7.754 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/1.047, allocations: 3.938 kB / 1.286 GB, free: 7.75 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/1.047, allocations: 0 / 1.286 GB, free: 7.75 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/1.047, allocations: 0 / 1.286 GB, free: 7.75 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.966e-05/1.047, allocations: 0 / 1.286 GB, free: 7.75 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/1.047, allocations: 8.062 kB / 1.286 GB, free: 7.742 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 (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.0001237/1.047, allocations: 181.1 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/1.047, allocations: 116.9 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.132e-05/1.047, allocations: 112.7 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.489e-05/1.047, allocations: 184.3 kB / 1.287 GB, free: 7.125 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-05/1.047, allocations: 180.3 kB / 1.287 GB, free: 6.941 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.242e-05/1.047, allocations: 180.2 kB / 1.287 GB, free: 6.758 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/1.048, allocations: 380.3 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-05/1.048, allocations: 116.8 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.747e-05/1.048, allocations: 101 kB / 1.288 GB, free: 6.109 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.115e-05/1.048, allocations: 180.3 kB / 1.288 GB, free: 5.926 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.164e-05/1.048, allocations: 184.2 kB / 1.288 GB, free: 5.738 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.225e-05/1.048, allocations: 180.3 kB / 1.288 GB, free: 5.555 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.636e-05/1.048, allocations: 184.2 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/1.048, allocations: 307.8 kB / 1.289 GB, free: 5.043 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.873e-05/1.048, allocations: 120.8 kB / 1.289 GB, free: 4.918 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/1.048, allocations: 184.2 kB / 1.289 GB, free: 4.73 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/1.048, allocations: 104.9 kB / 1.289 GB, free: 4.621 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/1.049, allocations: 180.3 kB / 1.289 GB, free: 4.438 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.506e-05/1.049, allocations: 101 kB / 1.29 GB, free: 4.332 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 8.81e-05/1.049, allocations: 97.14 kB / 1.29 GB, free: 4.238 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 8e-08/1.049, allocations: 4 kB / 1.29 GB, free: 4.234 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0008566/1.05, allocations: 290.9 kB / 1.29 GB, free: 3.949 MB / 0.9825 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.001102/1.051, allocations: 0.514 MB / 1.29 GB, free: 3.426 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0001176/1.051, allocations: 41.64 kB / 1.29 GB, free: 3.379 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.051, allocations: 0 / 1.29 GB, free: 3.379 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 1.643e-06/1.051, allocations: 0 / 1.29 GB, free: 3.379 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/1.051, allocations: 478.1 kB / 1.291 GB, free: 2.91 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/1.052, allocations: 236.5 kB / 1.291 GB, free: 2.652 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/1.052, allocations: 0.6846 MB / 1.292 GB, free: 1.941 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 1.388e-05/1.052, allocations: 4 kB / 1.292 GB, free: 1.938 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.661e-05/1.052, allocations: 11.44 kB / 1.292 GB, free: 1.926 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.51e-07/1.052, allocations: 0 / 1.292 GB, free: 1.926 MB / 0.9825 GB
Notification: Performance of Templates: time 0.01092/1.063, allocations: 5.472 MB / 1.297 GB, free: 12.5 MB / 0.9981 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.621193535625935]