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.001158/0.001158, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001323/0.001323, allocations: 193.6 kB / 16.14 MB, free: 6.652 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.661/2.661, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 62.33 kB / 0.8985 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2731, allocations: 157.4 MB / 1.052 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002306/0.2755, allocations: 1.435 MB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002626/0.2781, allocations: 1.856 MB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.111e-05/0.2781, allocations: 3.938 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.985e-05/0.2782, allocations: 4 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.2784, allocations: 35.81 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.2806, allocations: 1.051 MB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.977e-05/0.2807, allocations: 83.73 kB / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.2807, allocations: 7.984 kB / 1.057 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.468e-05/0.2808, allocations: 31.91 kB / 1.057 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.2809, allocations: 31.84 kB / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.2809, allocations: 4 kB / 1.057 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.282, allocations: 0.85 MB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.284e-05/0.2821, allocations: 71.81 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.2822, allocations: 63.38 kB / 1.058 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009479/0.2831, allocations: 0.881 MB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.2831, allocations: 3.938 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2831, allocations: 0 / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2831, allocations: 0 / 1.058 GB, free: 2.391 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006201/0.2838, allocations: 0.5891 MB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2838, allocations: 12.03 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.2839, allocations: 20.66 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.284, allocations: 222.8 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.2841, allocations: 384 / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.2841, allocations: 384 / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.2842, allocations: 105.8 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.2842, allocations: 4 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.2842, allocations: 0 / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2842, allocations: 0 / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.627e-05/0.2843, allocations: 75.97 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002408/0.2846, allocations: 277.8 kB / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.2847, allocations: 130.4 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.576e-05/0.2848, allocations: 108.9 kB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.2848, allocations: 3.938 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.2848, allocations: 30.56 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=32): time 1.152e-06/0.2848, allocations: 0 / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=32): time 0.0003719/0.2852, allocations: 337.8 kB / 1.06 GB, free: 344 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.2853, allocations: 59.44 kB / 1.06 GB, free: 272 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.2855, allocations: 253 kB / 1.061 GB, free: 8 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.2855, allocations: 29.69 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.2856, allocations: 128.7 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.68e-05/0.2857, allocations: 98.45 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.2857, allocations: 25.7 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2859, allocations: 342.8 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-05/0.2859, allocations: 79.97 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.842e-05/0.286, allocations: 77.3 kB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.2862, allocations: 197 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2862, allocations: 0 / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002191/0.2864, allocations: 229.1 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2864, allocations: 8 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.2865, allocations: 3.984 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.2865, allocations: 0 / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.2865, allocations: 0 / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.2865, allocations: 0 / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.2865, allocations: 15.91 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.2865, allocations: 4 kB / 1.062 GB, free: 14.76 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.0001133/0.2867, allocations: 157.8 kB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.2867, allocations: 23.66 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000276/0.287, allocations: 260.2 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.287, allocations: 3.984 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.287, allocations: 8.031 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.287, allocations: 0 / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.2872, allocations: 281.8 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.2873, allocations: 7.938 kB / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-06/0.2873, allocations: 3.938 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.2873, allocations: 0 / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.2873, allocations: 0 / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2873, allocations: 3.938 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2873, allocations: 0 / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.2876, allocations: 256.8 kB / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.2876, allocations: 108.6 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.2877, allocations: 0 / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.2877, allocations: 0 / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.2877, allocations: 7.984 kB / 1.063 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.2877, allocations: 0 / 1.063 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001539/0.2879, allocations: 188.5 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2879, allocations: 0 / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005222/0.2884, allocations: 215.9 kB / 1.063 GB, free: 13.16 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.0007134/0.2891, allocations: 337.2 kB / 1.064 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002713/0.2894, allocations: 269.5 kB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2894, allocations: 3.938 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.2896, allocations: 173.6 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.2898, allocations: 27.02 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006358/0.2905, allocations: 0.5548 MB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.2908, allocations: 0.7647 MB / 1.065 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.366e-05/0.2908, allocations: 4 kB / 1.065 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.46e-05/0.2908, allocations: 11.44 kB / 1.065 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2908, allocations: 0 / 1.065 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of Templates: time 0.008058/0.2989, allocations: 4.564 MB / 1.07 GB, free: 6.461 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