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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001559/0.001558, 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.001757/0.001758, allocations: 195.5 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.35/1.35, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.718/2.718, allocations: 472.7 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 65.64 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2921, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002584/0.2947, allocations: 1.433 MB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0034/0.2981, allocations: 1.844 MB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.2982, allocations: 0 / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.2984, allocations: 7.922 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.2987, allocations: 27.89 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002998/0.3017, allocations: 1.05 MB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.3018, allocations: 79.73 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.3018, allocations: 4 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.705e-05/0.3019, allocations: 31.84 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.304e-05/0.302, allocations: 23.86 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.302, allocations: 0 / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.3033, allocations: 0.8423 MB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.317e-05/0.3034, allocations: 27.97 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.3035, allocations: 27.75 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.3046, allocations: 0.8111 MB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3046, allocations: 0 / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3046, allocations: 0 / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.3046, allocations: 0 / 1.074 GB, free: 4.598 MB / 0.8262 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.0006135/0.3052, allocations: 484.4 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3053, allocations: 8.031 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.3053, allocations: 8.844 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.3055, allocations: 188.6 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.3055, allocations: 384 / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.3055, allocations: 3.938 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.3056, allocations: 57.69 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.3056, allocations: 0 / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.3057, allocations: 3.984 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3057, allocations: 0 / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.002e-05/0.3057, allocations: 23.98 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.3059, allocations: 189.6 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.292e-05/0.306, allocations: 54.52 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.306, allocations: 36.95 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.3061, allocations: 7.984 kB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.3061, allocations: 30.56 kB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3061, allocations: 0 / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0001948/0.3063, allocations: 113.8 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.3064, allocations: 55.34 kB / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.3065, allocations: 150.4 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.3065, allocations: 25.7 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.3066, allocations: 104.2 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.3066, allocations: 27.56 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.3067, allocations: 17.7 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3068, allocations: 330.7 kB / 1.076 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.077e-05/0.3068, allocations: 24 kB / 1.076 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.253e-05/0.3069, allocations: 27.97 kB / 1.076 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.385e-05/0.307, allocations: 68.77 kB / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.307, allocations: 0 / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001157/0.3071, allocations: 93.61 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3071, allocations: 7.938 kB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.3071, allocations: 0 / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.3071, allocations: 0 / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.3071, allocations: 0 / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3072, allocations: 4 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.3072, allocations: 0 / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.3072, allocations: 4 kB / 1.076 GB, free: 2.266 MB / 0.8262 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 9.126e-05/0.3073, allocations: 131.7 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.3073, allocations: 11.94 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.3075, allocations: 110.3 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3075, allocations: 0 / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3075, allocations: 0 / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3075, allocations: 0 / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.3077, allocations: 189.6 kB / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.3077, allocations: 4 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3077, allocations: 0 / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3077, allocations: 0 / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.3077, allocations: 0 / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3077, allocations: 7.969 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3077, allocations: 0 / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.3078, allocations: 120.9 kB / 1.076 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.3079, allocations: 92.86 kB / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.3079, allocations: 0 / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.421e-05/0.308, allocations: 0 / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.308, allocations: 4 kB / 1.076 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.308, allocations: 0 / 1.076 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.337e-05/0.3081, allocations: 129.5 kB / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3081, allocations: 0 / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005802/0.3087, allocations: 207.9 kB / 1.077 GB, free: 1.176 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.0008032/0.3095, allocations: 334.1 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.3096, allocations: 97.61 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3096, allocations: 4 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.747e-05/0.3097, allocations: 69.67 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.3099, allocations: 16.06 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.3103, allocations: 249.2 kB / 1.077 GB, free: 388 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.3106, allocations: 0.7004 MB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.3107, allocations: 11.98 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.324e-05/0.3107, allocations: 7.438 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.3107, allocations: 0 / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of Templates: time 0.008/0.3187, allocations: 4.269 MB / 1.082 GB, free: 11.41 MB / 0.8419 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