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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_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.001611/0.001611, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001922/0.001922, allocations: 191 kB / 17.29 MB, free: 5.516 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.518/1.518, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.446/2.446, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 67.73 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3495, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002792/0.3524, allocations: 1.395 MB / 1.028 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002832/0.3552, allocations: 1.79 MB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.145e-05/0.3553, allocations: 0 / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.3554, allocations: 11.92 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.3556, allocations: 31.89 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.3582, allocations: 1.154 MB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.3583, allocations: 51.78 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.3583, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.66e-05/0.3584, allocations: 31.91 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.065e-05/0.3585, allocations: 23.91 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.3585, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.3597, allocations: 0.8968 MB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.559e-05/0.3598, allocations: 71.75 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.604e-05/0.3598, allocations: 59.44 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.3609, allocations: 0.8807 MB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3609, allocations: 0 / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3609, allocations: 0 / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.3609, allocations: 4 kB / 1.033 GB, free: 11.62 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.0007158/0.3616, allocations: 0.58 MB / 1.034 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3617, allocations: 8.031 kB / 1.034 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.3617, allocations: 24.66 kB / 1.034 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.362, allocations: 226.8 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.362, allocations: 384 / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.362, allocations: 384 / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3622, allocations: 109.8 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.3622, allocations: 0 / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3622, allocations: 0 / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.3622, allocations: 7.984 kB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.913e-05/0.3623, allocations: 63.98 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.3626, allocations: 285.8 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.3628, allocations: 118.5 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.813e-05/0.3629, allocations: 113.7 kB / 1.034 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.3629, allocations: 3.938 kB / 1.034 GB, free: 9.945 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.3629, allocations: 30.56 kB / 1.035 GB, free: 9.906 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=32): time 1.022e-06/0.3629, allocations: 0 / 1.035 GB, free: 9.906 MB / 0.8106 GB Notification: Performance of matching and sorting (n=32): time 0.0004343/0.3634, allocations: 338.4 kB / 1.035 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.3634, allocations: 59.38 kB / 1.035 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.3637, allocations: 264.9 kB / 1.035 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.3637, allocations: 25.7 kB / 1.035 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.497e-05/0.3638, allocations: 128.6 kB / 1.035 GB, free: 9.062 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.133e-05/0.3639, allocations: 106.4 kB / 1.035 GB, free: 8.957 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.364, allocations: 29.7 kB / 1.035 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3641, allocations: 338.8 kB / 1.036 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.356e-05/0.3642, allocations: 71.98 kB / 1.036 GB, free: 8.512 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.084e-05/0.3643, allocations: 75.97 kB / 1.036 GB, free: 8.438 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.3645, allocations: 197.8 kB / 1.036 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3645, allocations: 3.984 kB / 1.036 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002381/0.3648, allocations: 233.2 kB / 1.036 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3648, allocations: 4 kB / 1.036 GB, free: 8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.3648, allocations: 7.938 kB / 1.036 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3648, allocations: 0 / 1.036 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.3648, allocations: 0 / 1.036 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3649, allocations: 0 / 1.036 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.3649, allocations: 11.84 kB / 1.036 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3649, allocations: 4.062 kB / 1.036 GB, free: 7.977 MB / 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 0.0001176/0.365, allocations: 157.7 kB / 1.036 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.3651, allocations: 27.64 kB / 1.037 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.3654, allocations: 252.3 kB / 1.037 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3654, allocations: 3.984 kB / 1.037 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3654, allocations: 4 kB / 1.037 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3654, allocations: 4 kB / 1.037 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.3656, allocations: 277.8 kB / 1.037 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3656, allocations: 7.938 kB / 1.037 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.3656, allocations: 4.031 kB / 1.037 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3657, allocations: 0 / 1.037 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.3657, allocations: 0 / 1.037 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3657, allocations: 3.938 kB / 1.037 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3657, allocations: 0 / 1.037 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.3659, allocations: 256.8 kB / 1.037 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.366, allocations: 112.6 kB / 1.037 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.366, allocations: 0 / 1.037 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.682e-05/0.3661, allocations: 4.031 kB / 1.037 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.3661, allocations: 4 kB / 1.037 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.3661, allocations: 0 / 1.037 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001593/0.3663, allocations: 184.5 kB / 1.038 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3663, allocations: 3.938 kB / 1.038 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005781/0.3668, allocations: 211.9 kB / 1.038 GB, free: 6.395 MB / 0.8106 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.0006936/0.3676, allocations: 338 kB / 1.038 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002987/0.3679, allocations: 273.5 kB / 1.038 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3679, allocations: 4.062 kB / 1.038 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.368, allocations: 177.6 kB / 1.039 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.3683, allocations: 20.98 kB / 1.039 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007094/0.369, allocations: 498.1 kB / 1.039 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.3694, allocations: 0.7671 MB / 1.04 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.64e-05/0.3694, allocations: 4.062 kB / 1.04 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.3694, allocations: 11.44 kB / 1.04 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of SimCode: time 1.9e-07/0.3695, allocations: 0 / 1.04 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of Templates: time 0.008678/0.3781, allocations: 4.592 MB / 1.044 GB, free: 15.73 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 -s cvode -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/jenkins1/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