Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.001557/0.001557, allocations: 113.7 kB / 18.84 MB, free: 2.875 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.001562/0.001562, allocations: 189 kB / 22.1 MB, free: 5.184 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.481/1.481, allocations: 225.6 MB / 250.8 MB, free: 13.07 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.232/3.232, allocations: 495.8 MB / 0.783 GB, free: 33.59 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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances")
translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 68.16 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4054, allocations: 173.6 MB / 1.307 GB, free: 1.84 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003175/0.4085, allocations: 1.509 MB / 1.308 GB, free: 328 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001713/0.4102, allocations: 0.9151 MB / 1.309 GB, free: 15.4 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.942e-05/0.4103, allocations: 3.938 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.4105, allocations: 39.81 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 4.315e-05/0.4106, allocations: 23.8 kB / 1.309 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.4111, allocations: 191.1 kB / 1.309 GB, free: 15.15 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001275/0.4113, allocations: 51.67 kB / 1.309 GB, free: 15.1 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.312e-05/0.4113, allocations: 4 kB / 1.309 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.847e-05/0.4114, allocations: 23.91 kB / 1.309 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.883e-05/0.4114, allocations: 11.94 kB / 1.309 GB, free: 15.06 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.4114, allocations: 0 / 1.309 GB, free: 15.06 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003778/0.4118, allocations: 175.7 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.4118, allocations: 7.938 kB / 1.31 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.4119, allocations: 19.88 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.4121, allocations: 123.6 kB / 1.31 GB, free: 14.74 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4121, allocations: 0 / 1.31 GB, free: 14.74 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.522e-06/0.4121, allocations: 0 / 1.31 GB, free: 14.74 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.861e-06/0.4121, allocations: 0 / 1.31 GB, free: 14.74 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.0004449/0.4126, allocations: 297.9 kB / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.4126, allocations: 11.97 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.4127, allocations: 84.17 kB / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.413, allocations: 206.7 kB / 1.31 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.58e-05/0.4131, allocations: 150.9 kB / 1.31 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.265e-05/0.4132, allocations: 150.9 kB / 1.311 GB, free: 13.8 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.221e-05/0.4132, allocations: 113.2 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.4133, allocations: 75.28 kB / 1.311 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.4134, allocations: 154.6 kB / 1.311 GB, free: 13.46 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.855e-05/0.4135, allocations: 158.5 kB / 1.311 GB, free: 13.3 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.114e-05/0.4136, allocations: 154.5 kB / 1.311 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.4139, allocations: 433 kB / 1.312 GB, free: 12.68 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.414, allocations: 181 kB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.104e-05/0.4141, allocations: 84.12 kB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.4141, allocations: 75.28 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.257e-05/0.4142, allocations: 113.8 kB / 1.312 GB, free: 12.21 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.4142, allocations: 0 / 1.312 GB, free: 12.21 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 8.243e-05/0.4142, allocations: 25.7 kB / 1.312 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.4143, allocations: 134.7 kB / 1.312 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.4145, allocations: 135.1 kB / 1.312 GB, free: 11.9 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.4145, allocations: 25.7 kB / 1.312 GB, free: 11.87 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.4146, allocations: 104 kB / 1.313 GB, free: 11.76 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.4146, allocations: 0 / 1.313 GB, free: 11.76 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.4146, allocations: 13.72 kB / 1.313 GB, free: 11.74 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001664/0.4148, allocations: 314.8 kB / 1.313 GB, free: 11.43 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.929e-05/0.4148, allocations: 7.984 kB / 1.313 GB, free: 11.42 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.968e-05/0.4148, allocations: 12 kB / 1.313 GB, free: 11.41 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.392e-05/0.4149, allocations: 8.859 kB / 1.313 GB, free: 11.39 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4149, allocations: 0 / 1.313 GB, free: 11.39 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.000145/0.415, allocations: 45.64 kB / 1.313 GB, free: 11.34 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.415, allocations: 7.984 kB / 1.313 GB, free: 11.34 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/0.4151, allocations: 4 kB / 1.313 GB, free: 11.33 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.4151, allocations: 0 / 1.313 GB, free: 11.33 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.4151, allocations: 0 / 1.313 GB, free: 11.33 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.4151, allocations: 3.938 kB / 1.313 GB, free: 11.33 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.592e-05/0.4151, allocations: 7.891 kB / 1.313 GB, free: 11.32 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.4151, allocations: 8.062 kB / 1.313 GB, free: 11.31 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.0001168/0.4152, allocations: 189.9 kB / 1.313 GB, free: 11.12 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.721e-05/0.4153, allocations: 112.9 kB / 1.313 GB, free: 11 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.869e-05/0.4154, allocations: 108.8 kB / 1.313 GB, free: 10.89 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.796e-05/0.4154, allocations: 184.2 kB / 1.313 GB, free: 10.7 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.969e-05/0.4155, allocations: 180.3 kB / 1.314 GB, free: 10.52 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-05/0.4156, allocations: 188.2 kB / 1.314 GB, free: 10.32 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.4159, allocations: 384.3 kB / 1.314 GB, free: 9.898 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.308e-05/0.4159, allocations: 101 kB / 1.314 GB, free: 9.793 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.416, allocations: 108.9 kB / 1.314 GB, free: 9.68 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-05/0.4161, allocations: 180.3 kB / 1.315 GB, free: 9.496 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.421e-05/0.4162, allocations: 188.2 kB / 1.315 GB, free: 9.305 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.231e-05/0.4163, allocations: 176.3 kB / 1.315 GB, free: 9.125 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.95e-05/0.4164, allocations: 184.2 kB / 1.315 GB, free: 8.938 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.4166, allocations: 307.8 kB / 1.315 GB, free: 8.613 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.4166, allocations: 116.8 kB / 1.316 GB, free: 8.492 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.907e-05/0.4167, allocations: 184.2 kB / 1.316 GB, free: 8.305 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.274e-05/0.4168, allocations: 104.9 kB / 1.316 GB, free: 8.195 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.641e-05/0.4169, allocations: 180.2 kB / 1.316 GB, free: 8.012 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.4169, allocations: 101 kB / 1.316 GB, free: 7.906 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 7.17e-05/0.417, allocations: 105.5 kB / 1.316 GB, free: 7.805 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.417, allocations: 0 / 1.316 GB, free: 7.805 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003063/0.4173, allocations: 39.86 kB / 1.316 GB, free: 7.766 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.0003419/0.4177, allocations: 214.3 kB / 1.316 GB, free: 7.547 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001096/0.4178, allocations: 37.69 kB / 1.316 GB, free: 7.504 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4178, allocations: 0 / 1.316 GB, free: 7.504 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 5.941e-06/0.4178, allocations: 4 kB / 1.316 GB, free: 7.5 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.4183, allocations: 464.9 kB / 1.317 GB, free: 7.043 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.4187, allocations: 235.2 kB / 1.317 GB, free: 6.785 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.4191, allocations: 0.6807 MB / 1.318 GB, free: 6.078 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.197e-05/0.4191, allocations: 4 kB / 1.318 GB, free: 6.074 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/0.4191, allocations: 11.44 kB / 1.318 GB, free: 6.062 MB / 1.014 GB
Notification: Performance of SimCode: time 3.41e-07/0.4191, allocations: 0 / 1.318 GB, free: 6.062 MB / 1.014 GB
Notification: Performance of Templates: time 0.004868/0.424, allocations: 1.528 MB / 1.319 GB, free: 4.551 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.295984373427927]