Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001797/0.001797, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002146/0.002146, allocations: 197.6 kB / 22.17 MB, free: 5.211 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.405/1.405, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.818/2.818, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 63.91 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6723/0.6743, allocations: 168.7 MB / 1.274 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002378/0.6767, allocations: 1.304 MB / 1.275 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004686/0.6814, allocations: 3.811 MB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.6814, allocations: 7.938 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.6814, allocations: 0 / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004282/0.6819, allocations: 99.48 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.6822, allocations: 146.8 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.449e-05/0.6823, allocations: 23.92 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.428e-05/0.6823, allocations: 11.98 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.6824, allocations: 23.91 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.6825, allocations: 43.83 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.6825, allocations: 4 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004899/0.683, allocations: 299.6 kB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.776e-06/0.683, allocations: 0 / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.683, allocations: 7.938 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.6832, allocations: 130.2 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6832, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6832, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.6833, allocations: 4 kB / 1.28 GB, free: 14.5 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004155/0.6837, allocations: 359.1 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.6837, allocations: 8.031 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.6837, allocations: 4.938 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.6839, allocations: 168.3 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.6839, allocations: 384 / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.6839, allocations: 4.375 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.066e-05/0.684, allocations: 33.83 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.684, allocations: 4 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.684, allocations: 0 / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.684, allocations: 0 / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.692e-05/0.684, allocations: 8 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.6842, allocations: 153.7 kB / 1.281 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.845e-05/0.6842, allocations: 22.52 kB / 1.281 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.214e-05/0.6843, allocations: 12.91 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/0.6845, allocations: 97.09 kB / 1.281 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.6845, allocations: 38.5 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.6845, allocations: 4 kB / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000142/0.6847, allocations: 41.64 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.6847, allocations: 51.41 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.883e-05/0.6848, allocations: 101.9 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.6848, allocations: 33.77 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.6849, allocations: 88.08 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.6849, allocations: 15.88 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.6849, allocations: 9.719 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.6851, allocations: 310.8 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.6851, allocations: 8 kB / 1.281 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.103e-05/0.6851, allocations: 4 kB / 1.281 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.265e-05/0.6851, allocations: 12.92 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6851, allocations: 0 / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.486e-05/0.6852, allocations: 49.62 kB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.6852, allocations: 4 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.6852, allocations: 0 / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.6852, allocations: 0 / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.032e-05/0.6853, allocations: 7.938 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.6853, allocations: 256 / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.631e-05/0.6853, allocations: 0 / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.6853, allocations: 4 kB / 1.281 GB, free: 12.63 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 (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 7.877e-05/0.6854, allocations: 117.8 kB / 1.282 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.6854, allocations: 7.922 kB / 1.282 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.6855, allocations: 44.83 kB / 1.282 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.6855, allocations: 0 / 1.282 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.6855, allocations: 0 / 1.282 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.6855, allocations: 3.984 kB / 1.282 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.6856, allocations: 153.6 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6856, allocations: 0 / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/0.6857, allocations: 15.95 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.6857, allocations: 3.984 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.6857, allocations: 3.938 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.6857, allocations: 0 / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6857, allocations: 0 / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.538e-05/0.6857, allocations: 61.14 kB / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.6858, allocations: 93.03 kB / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.6858, allocations: 0 / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.528e-05/0.6858, allocations: 4.031 kB / 1.282 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.547e-06/0.6858, allocations: 0 / 1.282 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.6858, allocations: 0 / 1.282 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.634e-05/0.6859, allocations: 83.27 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.6859, allocations: 3.938 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002138/0.6861, allocations: 23.94 kB / 1.282 GB, free: 11.92 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 (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.000199/0.6863, allocations: 135.6 kB / 1.282 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.996e-05/0.6864, allocations: 19.92 kB / 1.282 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.6864, allocations: 0 / 1.282 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.377e-05/0.6864, allocations: 4 kB / 1.282 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.6866, allocations: 1.562 kB / 1.282 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.6869, allocations: 138.6 kB / 1.282 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.6872, allocations: 0.6768 MB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.465e-05/0.6872, allocations: 8.062 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.6872, allocations: 11.44 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.6872, allocations: 0 / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of Templates: time 0.003137/0.6904, allocations: 0.7595 MB / 1.284 GB, free: 10.12 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.163122588768601]