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_TwoUTube.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_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.00831/0.00831, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.352/1.352, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.639/2.639, allocations: 462.7 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003682, allocations: 12.69 kB / 0.9028 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2686, allocations: 159.6 MB / 1.059 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001502/0.2701, allocations: 1.101 MB / 1.06 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002859/0.273, allocations: 1.821 MB / 1.062 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.2731, allocations: 0 / 1.062 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.863e-05/0.2732, allocations: 7.938 kB / 1.062 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.2734, allocations: 35.88 kB / 1.062 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.2759, allocations: 1.027 MB / 1.063 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.276, allocations: 83.78 kB / 1.063 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.2761, allocations: 4 kB / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.2762, allocations: 35.84 kB / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.538e-05/0.2763, allocations: 31.91 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.2763, allocations: 0 / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.2777, allocations: 0.85 MB / 1.064 GB, free: 376 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.137e-05/0.2778, allocations: 75.75 kB / 1.064 GB, free: 300 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.715e-05/0.2779, allocations: 89.12 kB / 1.064 GB, free: 204 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.2791, allocations: 0.8771 MB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2792, allocations: 7.938 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2792, allocations: 0 / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.2792, allocations: 4 kB / 1.065 GB, free: 15.31 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007553/0.2799, allocations: 0.5607 MB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.28, allocations: 12.03 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.2801, allocations: 24.56 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.2803, allocations: 226.8 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.2803, allocations: 384 / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.2803, allocations: 384 / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.2805, allocations: 109.8 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.2805, allocations: 4 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.2805, allocations: 0 / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2805, allocations: 0 / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.422e-05/0.2806, allocations: 75.95 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.2809, allocations: 273.9 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.281, allocations: 122.5 kB / 1.066 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.723e-05/0.2811, allocations: 108.9 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.2811, allocations: 7.875 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.2812, allocations: 38.56 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 1.072e-06/0.2812, allocations: 0 / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=32): time 0.0003977/0.2816, allocations: 337.8 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.2816, allocations: 51.41 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.2819, allocations: 253 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.2819, allocations: 25.7 kB / 1.067 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.768e-05/0.282, allocations: 132.6 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.531e-05/0.2821, allocations: 106.4 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.2821, allocations: 29.73 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2823, allocations: 342.8 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.422e-05/0.2823, allocations: 75.97 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/0.2824, allocations: 73.3 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.2826, allocations: 205 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2826, allocations: 0 / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002321/0.2829, allocations: 217.3 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2829, allocations: 4 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.2829, allocations: 4 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.2829, allocations: 4.062 kB / 1.068 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.2829, allocations: 0 / 1.068 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.2829, allocations: 3.938 kB / 1.068 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.235e-05/0.283, allocations: 15.75 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.283, allocations: 0 / 1.068 GB, free: 11.7 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 0.0001343/0.2831, allocations: 158.9 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.2832, allocations: 23.66 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.2835, allocations: 260.4 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2835, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2835, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2835, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.2837, allocations: 285.7 kB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.2838, allocations: 7.938 kB / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.2838, allocations: 0 / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.2838, allocations: 3.984 kB / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.2838, allocations: 0 / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2838, allocations: 0 / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2838, allocations: 4.031 kB / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.2841, allocations: 256.7 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.2841, allocations: 108.6 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.2842, allocations: 4 kB / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.074e-05/0.2842, allocations: 0 / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.2842, allocations: 0 / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.2842, allocations: 4 kB / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001622/0.2844, allocations: 192.4 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2844, allocations: 7.969 kB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000662/0.2851, allocations: 215.9 kB / 1.069 GB, free: 10.1 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.0008645/0.286, allocations: 328.8 kB / 1.07 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002778/0.2862, allocations: 265.6 kB / 1.07 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2863, allocations: 3.938 kB / 1.07 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.2864, allocations: 177.6 kB / 1.07 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.2867, allocations: 20.62 kB / 1.07 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006872/0.2874, allocations: 0.568 MB / 1.071 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.2877, allocations: 0.7673 MB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.803e-05/0.2877, allocations: 8 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.382e-05/0.2877, allocations: 11.44 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.2878, allocations: 0 / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of Templates: time 0.01305/0.3008, allocations: 4.549 MB / 1.076 GB, free: 3.402 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches