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.0009028/0.0009029, allocations: 97.95 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.006904/0.006904, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.352 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: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005277/0.0005277, allocations: 20.48 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2926, allocations: 159.6 MB / 1.059 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.001412/0.2941, allocations: 1.1 MB / 1.06 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002823/0.2969, allocations: 1.813 MB / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.017e-05/0.297, allocations: 0 / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.413e-05/0.2971, allocations: 15.92 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.2973, allocations: 19.89 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002552/0.2998, allocations: 1.036 MB / 1.063 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.3, allocations: 75.8 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.497e-05/0.3, allocations: 3.984 kB / 1.063 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.529e-05/0.3001, allocations: 27.86 kB / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.047e-05/0.3002, allocations: 23.92 kB / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.3002, allocations: 0 / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.3014, allocations: 0.8578 MB / 1.064 GB, free: 456 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.112e-05/0.3015, allocations: 27.92 kB / 1.064 GB, free: 428 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.3016, allocations: 57.44 kB / 1.064 GB, free: 364 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.3027, allocations: 0.8033 MB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3027, allocations: 3.984 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3027, allocations: 0 / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.3027, allocations: 0 / 1.064 GB, free: 15.55 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.00056/0.3033, allocations: 463 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3033, allocations: 8.031 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.3034, allocations: 16.77 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.3035, allocations: 186.8 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.3036, allocations: 384 / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.3036, allocations: 7.938 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.564e-05/0.3037, allocations: 49.69 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.3037, allocations: 0 / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.3037, allocations: 7.984 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3037, allocations: 0 / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.458e-05/0.3038, allocations: 19.94 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.304, allocations: 201.5 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.952e-05/0.304, allocations: 46.52 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.873e-05/0.3041, allocations: 37.03 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.3041, allocations: 3.984 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.3041, allocations: 30.56 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.3041, allocations: 0 / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0001932/0.3043, allocations: 121.5 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.3044, allocations: 55.41 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.3045, allocations: 156.1 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.3045, allocations: 25.7 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.3046, allocations: 96.14 kB / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.3046, allocations: 31.55 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.3047, allocations: 9.719 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3048, allocations: 326.8 kB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.37e-05/0.3048, allocations: 27.98 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.546e-05/0.3048, allocations: 19.98 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.988e-05/0.3049, allocations: 68.88 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3049, allocations: 0 / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001125/0.3051, allocations: 89.52 kB / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3051, allocations: 9.875 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3051, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.3051, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.905e-06/0.3051, allocations: 3.984 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.3051, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.294e-05/0.3052, allocations: 4 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.3052, allocations: 7.922 kB / 1.066 GB, free: 13.24 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 8.486e-05/0.3053, allocations: 133.8 kB / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.3053, allocations: 7.906 kB / 1.067 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.3054, allocations: 112.5 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3055, allocations: 0 / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3055, allocations: 0 / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.3055, allocations: 0 / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.3056, allocations: 197.5 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3056, allocations: 0 / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-07/0.3056, allocations: 4 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3057, allocations: 4.031 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.3057, allocations: 0 / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3057, allocations: 0 / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3057, allocations: 3.984 kB / 1.067 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.3058, allocations: 117 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.3059, allocations: 85.02 kB / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.3059, allocations: 4 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.475e-05/0.3059, allocations: 3.938 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.3059, allocations: 12.02 kB / 1.067 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.3059, allocations: 0 / 1.067 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.329e-05/0.306, allocations: 125 kB / 1.067 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.306, allocations: 0 / 1.067 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005782/0.3066, allocations: 203.9 kB / 1.067 GB, free: 12.15 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.0007527/0.3074, allocations: 334.9 kB / 1.068 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.3075, allocations: 97.67 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3075, allocations: 0 / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.625e-05/0.3076, allocations: 69.75 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.3078, allocations: 7.984 kB / 1.068 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.3082, allocations: 262.9 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.3085, allocations: 0.7043 MB / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.854e-05/0.3085, allocations: 0 / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.659e-05/0.3085, allocations: 11.44 kB / 1.069 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3085, allocations: 0 / 1.069 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of Templates: time 0.007892/0.3164, allocations: 4.27 MB / 1.073 GB, free: 6.387 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