Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001771/0.001771, 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.002119/0.002119, allocations: 191 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.581/1.581, 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.287/3.287, allocations: 495.8 MB / 0.783 GB, free: 33.64 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.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 65.17 kB / 1.137 GB, free: 33.75 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3768, allocations: 173.6 MB / 1.307 GB, free: 1.773 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002635/0.3794, allocations: 1.307 MB / 1.308 GB, free: 468 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.004933/0.3843, allocations: 3.782 MB / 1.312 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.3e-05/0.3844, allocations: 0 / 1.312 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.3844, allocations: 3.938 kB / 1.312 GB, free: 12.65 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.000508/0.3849, allocations: 103.5 kB / 1.312 GB, free: 12.55 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.3852, allocations: 139.5 kB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 7.09e-05/0.3853, allocations: 27.92 kB / 1.312 GB, free: 12.39 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.3853, allocations: 4 kB / 1.312 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.3855, allocations: 23.84 kB / 1.312 GB, free: 12.36 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.3856, allocations: 39.84 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.3856, allocations: 0 / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005024/0.3861, allocations: 311.6 kB / 1.312 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.3861, allocations: 4 kB / 1.312 GB, free: 12.01 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.3861, allocations: 7.938 kB / 1.312 GB, free: 12 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.00024/0.3864, allocations: 123.6 kB / 1.312 GB, free: 11.88 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3864, allocations: 0 / 1.312 GB, free: 11.88 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.443e-06/0.3864, allocations: 0 / 1.312 GB, free: 11.88 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.189e-06/0.3864, allocations: 0 / 1.312 GB, free: 11.88 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.0004291/0.3868, allocations: 285.9 kB / 1.313 GB, free: 11.57 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3868, allocations: 8.031 kB / 1.313 GB, free: 11.57 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.3869, allocations: 4.938 kB / 1.313 GB, free: 11.56 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.387, allocations: 106.5 kB / 1.313 GB, free: 11.43 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.387, allocations: 8.312 kB / 1.313 GB, free: 11.43 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.387, allocations: 4.375 kB / 1.313 GB, free: 11.42 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.3871, allocations: 41.75 kB / 1.313 GB, free: 11.38 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3871, allocations: 0 / 1.313 GB, free: 11.38 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.3871, allocations: 0 / 1.313 GB, free: 11.38 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3871, allocations: 0 / 1.313 GB, free: 11.38 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.3872, allocations: 8 kB / 1.313 GB, free: 11.37 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.3874, allocations: 124.8 kB / 1.313 GB, free: 11.2 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.213e-05/0.3874, allocations: 26.55 kB / 1.313 GB, free: 11.17 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.3875, allocations: 12.92 kB / 1.313 GB, free: 11.15 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002188/0.3877, allocations: 27.97 kB / 1.313 GB, free: 11.12 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.3877, allocations: 34.5 kB / 1.313 GB, free: 11.08 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3877, allocations: 0 / 1.313 GB, free: 11.08 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0001859/0.3879, allocations: 45.66 kB / 1.313 GB, free: 11.03 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.388, allocations: 51.41 kB / 1.313 GB, free: 10.97 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3881, allocations: 101.8 kB / 1.313 GB, free: 10.86 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.3881, allocations: 25.7 kB / 1.313 GB, free: 10.83 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.3882, allocations: 88.14 kB / 1.313 GB, free: 10.74 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.3882, allocations: 3.953 kB / 1.313 GB, free: 10.73 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.3882, allocations: 9.719 kB / 1.313 GB, free: 10.72 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001658/0.3884, allocations: 330.9 kB / 1.314 GB, free: 10.39 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.3884, allocations: 0 / 1.314 GB, free: 10.39 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.126e-05/0.3884, allocations: 4 kB / 1.314 GB, free: 10.38 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.544e-05/0.3884, allocations: 8.859 kB / 1.314 GB, free: 10.37 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3884, allocations: 0 / 1.314 GB, free: 10.37 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 7.263e-05/0.3885, allocations: 45.64 kB / 1.314 GB, free: 10.32 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3885, allocations: 7.984 kB / 1.314 GB, free: 10.31 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3885, allocations: 0 / 1.314 GB, free: 10.31 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3886, allocations: 96 / 1.314 GB, free: 10.31 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.337e-05/0.3886, allocations: 8 kB / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3886, allocations: 7.875 kB / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/0.3886, allocations: 0 / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.3886, allocations: 4 kB / 1.314 GB, free: 10.29 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 8.722e-05/0.3887, allocations: 105.8 kB / 1.314 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.3887, allocations: 3.938 kB / 1.314 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.3889, allocations: 53 kB / 1.314 GB, free: 10.12 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3889, allocations: 4.031 kB / 1.314 GB, free: 10.11 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3889, allocations: 0 / 1.314 GB, free: 10.11 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3889, allocations: 0 / 1.314 GB, free: 10.11 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.389, allocations: 128.6 kB / 1.314 GB, free: 9.945 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.389, allocations: 4 kB / 1.314 GB, free: 9.941 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.389, allocations: 3.938 kB / 1.314 GB, free: 9.938 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.389, allocations: 0 / 1.314 GB, free: 9.938 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.389, allocations: 4.25 kB / 1.314 GB, free: 9.934 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.389, allocations: 4 kB / 1.314 GB, free: 9.93 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.389, allocations: 3.938 kB / 1.314 GB, free: 9.926 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.3891, allocations: 73.12 kB / 1.314 GB, free: 9.836 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.3891, allocations: 7.875 kB / 1.314 GB, free: 9.828 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3892, allocations: 3.984 kB / 1.314 GB, free: 9.824 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.549e-05/0.3892, allocations: 0 / 1.314 GB, free: 9.824 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.3892, allocations: 7.984 kB / 1.314 GB, free: 9.816 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.3892, allocations: 0 / 1.314 GB, free: 9.816 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.465e-05/0.3893, allocations: 79.28 kB / 1.314 GB, free: 9.738 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3893, allocations: 32 / 1.314 GB, free: 9.738 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.000216/0.3895, allocations: 31.92 kB / 1.314 GB, free: 9.707 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.000215/0.3897, allocations: 133.5 kB / 1.314 GB, free: 9.57 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 8.688e-05/0.3898, allocations: 11.94 kB / 1.314 GB, free: 9.559 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3898, allocations: 0 / 1.314 GB, free: 9.559 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.595e-05/0.3898, allocations: 7.984 kB / 1.314 GB, free: 9.551 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.39, allocations: 7.984 kB / 1.315 GB, free: 9.543 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.3903, allocations: 132.3 kB / 1.315 GB, free: 9.387 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.3907, allocations: 0.6844 MB / 1.315 GB, free: 8.676 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.416e-05/0.3907, allocations: 0 / 1.315 GB, free: 8.676 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.3908, allocations: 11.44 kB / 1.315 GB, free: 8.664 MB / 1.014 GB
Notification: Performance of SimCode: time 3.31e-07/0.3908, allocations: 3.938 kB / 1.315 GB, free: 8.66 MB / 1.014 GB
Notification: Performance of Templates: time 0.003281/0.394, allocations: 0.7509 MB / 1.316 GB, free: 7.918 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.353115695528686]