Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.2|2.|RDelta.1|2.|RDelta.2|1.|RDelta_Ref.1|1.|RDelta_Ref.2|2.|RDelta_Ref.1|2.|RDelta_Ref.2|1.|R.1|1.|R.2|2.|R.1|2.|R.2|1.|R_Ref.1|1.|R_Ref.2|2.|R_Ref.1|2.|R_Ref.2|1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.2|2.|RDelta.1|2.|RDelta.2|1.|RDelta_Ref.1|1.|RDelta_Ref.2|2.|RDelta_Ref.1|2.|RDelta_Ref.2|1.|R.1|1.|R.2|2.|R.1|2.|R.2|1.|R_Ref.1|1.|R_Ref.2|2.|R_Ref.1|2.|R_Ref.2|1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 193.4 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.681/2.681, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 64.97 kB / 0.8985 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2619, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002406/0.2644, allocations: 1.439 MB / 1.054 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002688/0.2671, allocations: 1.852 MB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.318e-05/0.2671, allocations: 0 / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.693e-05/0.2672, allocations: 7.922 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.2674, allocations: 31.89 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.2698, allocations: 1.039 MB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.2699, allocations: 83.72 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.337e-05/0.27, allocations: 3.938 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.989e-05/0.2701, allocations: 31.86 kB / 1.057 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/0.2701, allocations: 23.91 kB / 1.057 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.2701, allocations: 7.938 kB / 1.057 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.2713, allocations: 0.8384 MB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.2714, allocations: 31.97 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.2715, allocations: 27.75 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.2725, allocations: 0.8072 MB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2725, allocations: 0 / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2725, allocations: 0 / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.2725, allocations: 0 / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005523/0.2731, allocations: 479 kB / 1.059 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2731, allocations: 8.031 kB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.2731, allocations: 12.75 kB / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.2733, allocations: 194.8 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-06/0.2733, allocations: 384 / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.2733, allocations: 7.938 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.2735, allocations: 49.67 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.2735, allocations: 0 / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.2735, allocations: 8 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.2735, allocations: 3.984 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.508e-05/0.2735, allocations: 23.98 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.2737, allocations: 197.5 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.956e-05/0.2738, allocations: 50.44 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.419e-05/0.2739, allocations: 32.89 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.2739, allocations: 3.984 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.2739, allocations: 34.56 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.2739, allocations: 0 / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0002037/0.2741, allocations: 113.6 kB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.2742, allocations: 59.34 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2743, allocations: 151.9 kB / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.2743, allocations: 25.7 kB / 1.06 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.2744, allocations: 100.1 kB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.2744, allocations: 23.8 kB / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.2745, allocations: 21.73 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2746, allocations: 326.8 kB / 1.06 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.284e-05/0.2746, allocations: 23.98 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.588e-05/0.2747, allocations: 23.98 kB / 1.06 GB, free: 480 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.379e-05/0.2748, allocations: 64.83 kB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2748, allocations: 3.938 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001077/0.2749, allocations: 89.5 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2749, allocations: 9.859 kB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.2749, allocations: 11.88 kB / 1.06 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2749, allocations: 4.062 kB / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.2749, allocations: 0 / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.275, allocations: 0 / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.275, allocations: 0 / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.275, allocations: 4 kB / 1.06 GB, free: 284 kB / 0.8106 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 8.811e-05/0.2751, allocations: 126.9 kB / 1.06 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.2751, allocations: 7.906 kB / 1.06 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.2753, allocations: 102.4 kB / 1.061 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2753, allocations: 4.031 kB / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2753, allocations: 4 kB / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2753, allocations: 3.984 kB / 1.061 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.2755, allocations: 193.5 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2755, allocations: 0 / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.2755, allocations: 0 / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2755, allocations: 0 / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.2755, allocations: 0 / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.2755, allocations: 7.938 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2755, allocations: 0 / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.2756, allocations: 124.9 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.2757, allocations: 92.94 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.2757, allocations: 0 / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.334e-05/0.2757, allocations: 0 / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.059e-05/0.2758, allocations: 0 / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.2758, allocations: 0 / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.785e-05/0.2759, allocations: 121.2 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2759, allocations: 4 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000576/0.2765, allocations: 207.9 kB / 1.061 GB, free: 15.2 MB / 0.8262 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 (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 Backend phase and start with SimCode phase: time 0.0007497/0.2772, allocations: 336.1 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.2774, allocations: 93.61 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2774, allocations: 0 / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.649e-05/0.2774, allocations: 69.69 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.2777, allocations: 12.3 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.278, allocations: 245.4 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.2783, allocations: 0.7082 MB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.673e-05/0.2783, allocations: 0 / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.902e-05/0.2783, allocations: 7.438 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.2783, allocations: 4 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of Templates: time 0.007641/0.286, allocations: 4.294 MB / 1.067 GB, free: 9.434 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches