Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.001991/0.001991, allocations: 110 kB / 18.93 MB, free: 2.945 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.002833/0.002833, allocations: 187 kB / 22.22 MB, free: 5.164 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.506/1.506, 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-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.249/3.249, allocations: 0.4893 GB / 0.7884 GB, free: 33.09 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-master/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.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance")
translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 66.03 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4041, allocations: 174.9 MB / 1.316 GB, free: 9.68 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.00303/0.4072, allocations: 1.301 MB / 1.317 GB, free: 8.371 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.005711/0.4129, allocations: 3.817 MB / 1.321 GB, free: 4.531 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.4129, allocations: 7.938 kB / 1.321 GB, free: 4.523 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.4129, allocations: 3.938 kB / 1.321 GB, free: 4.52 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0006126/0.4136, allocations: 103.5 kB / 1.321 GB, free: 4.418 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.4141, allocations: 131.4 kB / 1.321 GB, free: 4.293 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001052/0.4142, allocations: 35.84 kB / 1.321 GB, free: 4.258 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.4142, allocations: 0 / 1.321 GB, free: 4.258 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.4143, allocations: 23.92 kB / 1.321 GB, free: 4.234 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.4145, allocations: 43.83 kB / 1.321 GB, free: 4.191 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.4145, allocations: 0 / 1.321 GB, free: 4.191 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005878/0.4151, allocations: 303.6 kB / 1.322 GB, free: 3.895 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.4151, allocations: 4 kB / 1.322 GB, free: 3.891 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.4151, allocations: 7.938 kB / 1.322 GB, free: 3.883 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.4154, allocations: 127.6 kB / 1.322 GB, free: 3.758 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4154, allocations: 0 / 1.322 GB, free: 3.758 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.853e-06/0.4154, allocations: 4 kB / 1.322 GB, free: 3.754 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 9.437e-06/0.4154, allocations: 0 / 1.322 GB, free: 3.754 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: 2
 * Number of variables: 2
Notification: Performance of Generate backend data structure: time 0.000496/0.4159, allocations: 278 kB / 1.322 GB, free: 3.453 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4159, allocations: 8.031 kB / 1.322 GB, free: 3.445 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.416, allocations: 4.938 kB / 1.322 GB, free: 3.441 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.4161, allocations: 110.5 kB / 1.322 GB, free: 3.309 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.4161, allocations: 4.312 kB / 1.322 GB, free: 3.305 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.4161, allocations: 4.375 kB / 1.322 GB, free: 3.301 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.4162, allocations: 37.77 kB / 1.322 GB, free: 3.258 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.4162, allocations: 4 kB / 1.322 GB, free: 3.254 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.4163, allocations: 0 / 1.322 GB, free: 3.254 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4163, allocations: 0 / 1.322 GB, free: 3.254 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.318e-05/0.4163, allocations: 11.98 kB / 1.322 GB, free: 3.242 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.4165, allocations: 124.8 kB / 1.322 GB, free: 3.078 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.821e-05/0.4166, allocations: 26.56 kB / 1.322 GB, free: 3.043 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.541e-05/0.4166, allocations: 12.92 kB / 1.322 GB, free: 3.027 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000231/0.4168, allocations: 23.92 kB / 1.322 GB, free: 3.004 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.4169, allocations: 38.5 kB / 1.322 GB, free: 2.957 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4169, allocations: 0 / 1.322 GB, free: 2.957 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0001754/0.417, allocations: 41.69 kB / 1.322 GB, free: 2.91 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.4171, allocations: 59.34 kB / 1.323 GB, free: 2.84 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.793e-05/0.4172, allocations: 97.98 kB / 1.323 GB, free: 2.734 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.4172, allocations: 29.7 kB / 1.323 GB, free: 2.699 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.4173, allocations: 84.12 kB / 1.323 GB, free: 2.613 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.4173, allocations: 15.94 kB / 1.323 GB, free: 2.598 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.4173, allocations: 9.719 kB / 1.323 GB, free: 2.582 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001526/0.4175, allocations: 314.8 kB / 1.323 GB, free: 2.266 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.4175, allocations: 0 / 1.323 GB, free: 2.266 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.48e-05/0.4175, allocations: 11.94 kB / 1.323 GB, free: 2.254 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.446e-05/0.4175, allocations: 12.92 kB / 1.323 GB, free: 2.238 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4175, allocations: 0 / 1.323 GB, free: 2.238 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 9.013e-05/0.4176, allocations: 49.62 kB / 1.323 GB, free: 2.184 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4176, allocations: 4 kB / 1.323 GB, free: 2.18 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4176, allocations: 0 / 1.323 GB, free: 2.18 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.4177, allocations: 0 / 1.323 GB, free: 2.18 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.847e-05/0.4177, allocations: 4 kB / 1.323 GB, free: 2.176 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4177, allocations: 0 / 1.323 GB, free: 2.176 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.4177, allocations: 0 / 1.323 GB, free: 2.176 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.4177, allocations: 4 kB / 1.323 GB, free: 2.172 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 (2):
 * Single equations (assignments): 2
 * 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 9.106e-05/0.4178, allocations: 118.5 kB / 1.323 GB, free: 2.047 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.4178, allocations: 7.891 kB / 1.323 GB, free: 2.039 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.418, allocations: 45.02 kB / 1.323 GB, free: 1.992 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.418, allocations: 3.984 kB / 1.323 GB, free: 1.988 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.418, allocations: 3.938 kB / 1.323 GB, free: 1.984 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.418, allocations: 0 / 1.323 GB, free: 1.984 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.4181, allocations: 124.7 kB / 1.323 GB, free: 1.82 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4181, allocations: 4.016 kB / 1.323 GB, free: 1.816 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.4181, allocations: 11.94 kB / 1.323 GB, free: 1.805 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4182, allocations: 0 / 1.323 GB, free: 1.805 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.4182, allocations: 4 kB / 1.323 GB, free: 1.801 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4182, allocations: 0 / 1.323 GB, free: 1.801 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.4182, allocations: 256 / 1.323 GB, free: 1.801 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.4183, allocations: 65.06 kB / 1.324 GB, free: 1.719 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.4183, allocations: 11.94 kB / 1.324 GB, free: 1.707 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.4183, allocations: 8.031 kB / 1.324 GB, free: 1.699 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.499e-05/0.4183, allocations: 3.938 kB / 1.324 GB, free: 1.695 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.4184, allocations: 3.984 kB / 1.324 GB, free: 1.691 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.4184, allocations: 4 kB / 1.324 GB, free: 1.688 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.241e-05/0.4184, allocations: 83.27 kB / 1.324 GB, free: 1.605 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.4184, allocations: 0 / 1.324 GB, free: 1.605 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002376/0.4186, allocations: 19.94 kB / 1.324 GB, free: 1.586 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 (2):
 * Single equations (assignments): 2
 * 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.0002341/0.4189, allocations: 135.6 kB / 1.324 GB, free: 1.445 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 9.66e-05/0.419, allocations: 11.94 kB / 1.324 GB, free: 1.434 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.419, allocations: 0 / 1.324 GB, free: 1.434 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.418e-05/0.419, allocations: 8 kB / 1.324 GB, free: 1.426 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.4192, allocations: 4.406 kB / 1.324 GB, free: 1.426 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.4196, allocations: 124.2 kB / 1.324 GB, free: 1.277 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.42, allocations: 0.6846 MB / 1.325 GB, free: 0.5664 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.725e-05/0.42, allocations: 4 kB / 1.325 GB, free: 0.5625 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.42, allocations: 15.38 kB / 1.325 GB, free: 0.5469 MB / 1.014 GB
Notification: Performance of SimCode: time 5.51e-07/0.42, allocations: 0 / 1.325 GB, free: 0.5469 MB / 1.014 GB
Notification: Performance of Templates: time 0.003649/0.4237, allocations: 0.7611 MB / 1.325 GB, free: 15.8 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.403316012583673]