Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001368/0.001367, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001629/0.001629, allocations: 192.4 kB / 16.25 MB, free: 6.621 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.463/1.463, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 437 MB / 0.71 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 67.91 kB / 0.8688 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6774/0.6788, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002499/0.6814, allocations: 1.436 MB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002706/0.6841, allocations: 1.786 MB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.6841, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.318e-05/0.6842, allocations: 3.984 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.6844, allocations: 39.83 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.6868, allocations: 1.073 MB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.792e-05/0.6869, allocations: 55.77 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.6869, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.138e-05/0.687, allocations: 27.92 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.6871, allocations: 39.83 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.6871, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009891/0.6881, allocations: 0.854 MB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.278e-05/0.6882, allocations: 67.75 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.22e-05/0.6883, allocations: 63.44 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009346/0.6892, allocations: 0.8553 MB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.6892, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6892, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.6892, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 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.0006617/0.6899, allocations: 0.5917 MB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.69, allocations: 8.031 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.69, allocations: 24.56 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.6902, allocations: 222.8 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.6902, allocations: 384 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.6903, allocations: 384 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.6904, allocations: 118.3 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.6905, allocations: 4 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.6905, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.6905, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.687e-05/0.6906, allocations: 75.97 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002592/0.6908, allocations: 273.8 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.691, allocations: 122.5 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.729e-05/0.6911, allocations: 108.9 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.6911, allocations: 7.938 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.6911, allocations: 30.56 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=32): time 1.132e-06/0.6911, allocations: 0 / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=32): time 0.0003878/0.6915, allocations: 341.7 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.6916, allocations: 55.41 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.6918, allocations: 249 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.6918, allocations: 25.7 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.6919, allocations: 136.7 kB / 1.025 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.657e-05/0.692, allocations: 106.4 kB / 1.025 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.6921, allocations: 25.7 kB / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6922, allocations: 342.8 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.238e-05/0.6923, allocations: 79.97 kB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.5e-05/0.6924, allocations: 71.97 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.6925, allocations: 205.8 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6925, allocations: 0 / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002174/0.6928, allocations: 225.2 kB / 1.026 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.6928, allocations: 12.06 kB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.6928, allocations: 0 / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.6928, allocations: 0 / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.366e-06/0.6928, allocations: 3.984 kB / 1.026 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.6928, allocations: 0 / 1.026 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.6929, allocations: 15.75 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.6929, allocations: 0 / 1.026 GB, free: 8.742 MB / 0.7794 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.0001259/0.693, allocations: 153.8 kB / 1.026 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.6931, allocations: 27.66 kB / 1.027 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.6933, allocations: 249.8 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.6934, allocations: 4 kB / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6934, allocations: 0 / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.6934, allocations: 7.875 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.6936, allocations: 285.8 kB / 1.027 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6936, allocations: 3.938 kB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.6936, allocations: 0 / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.6936, allocations: 0 / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.6936, allocations: 4.031 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.6936, allocations: 0 / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.6936, allocations: 0 / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.6939, allocations: 268.8 kB / 1.027 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.694, allocations: 108.6 kB / 1.027 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.694, allocations: 0 / 1.027 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.624e-05/0.694, allocations: 4 kB / 1.027 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.694, allocations: 0 / 1.027 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.694, allocations: 8.016 kB / 1.027 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001979/0.6942, allocations: 188.5 kB / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6943, allocations: 0 / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000529/0.6948, allocations: 207.8 kB / 1.028 GB, free: 7.16 MB / 0.7794 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.0007275/0.6955, allocations: 343.9 kB / 1.028 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.6958, allocations: 261.6 kB / 1.028 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6958, allocations: 4 kB / 1.028 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.696, allocations: 177.7 kB / 1.029 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.6962, allocations: 24.55 kB / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006631/0.6969, allocations: 0.5583 MB / 1.029 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.6972, allocations: 0.7691 MB / 1.03 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.393e-05/0.6973, allocations: 4.25 kB / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.6973, allocations: 11.44 kB / 1.03 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6973, allocations: 3.938 kB / 1.03 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of Templates: time 0.008277/0.7056, allocations: 4.579 MB / 1.034 GB, free: 432 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches