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_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_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_10_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_10_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.001008/0.001008, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.612/1.612, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.825/2.825, allocations: 437.8 MB / 0.7128 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004533, allocations: 8 kB / 0.8736 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7814/0.7819, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.001679/0.7836, allocations: 1.109 MB / 1.025 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003142/0.7868, allocations: 1.791 MB / 1.027 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.144e-05/0.7869, allocations: 0 / 1.027 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.787, allocations: 15.92 kB / 1.027 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.7872, allocations: 19.91 kB / 1.027 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002848/0.79, allocations: 1.046 MB / 1.028 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.7902, allocations: 75.8 kB / 1.028 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.7902, allocations: 0 / 1.028 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.7903, allocations: 27.86 kB / 1.028 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.091e-05/0.7904, allocations: 27.91 kB / 1.028 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.7904, allocations: 0 / 1.028 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.792, allocations: 0.8384 MB / 1.029 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.792, allocations: 27.91 kB / 1.029 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.7921, allocations: 57.52 kB / 1.029 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00097/0.7931, allocations: 0.5672 MB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7931, allocations: 4 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7931, allocations: 0 / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.7931, allocations: 0 / 1.029 GB, free: 10.25 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000726/0.7939, allocations: 467 kB / 1.03 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.7939, allocations: 12.03 kB / 1.03 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.794, allocations: 12.75 kB / 1.03 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.7941, allocations: 181.5 kB / 1.03 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.7942, allocations: 4.375 kB / 1.03 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.7942, allocations: 7.938 kB / 1.03 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.7943, allocations: 53.69 kB / 1.03 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.7943, allocations: 3.984 kB / 1.03 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.7943, allocations: 3.938 kB / 1.03 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.7944, allocations: 0 / 1.03 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.455e-05/0.7944, allocations: 31.92 kB / 1.03 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.7947, allocations: 189.5 kB / 1.03 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.008e-05/0.7948, allocations: 46.52 kB / 1.03 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.7948, allocations: 36.88 kB / 1.03 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.7949, allocations: 0 / 1.03 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.7949, allocations: 38.56 kB / 1.03 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 8.61e-07/0.7949, allocations: 0 / 1.03 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0002816/0.7952, allocations: 121.7 kB / 1.03 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.7953, allocations: 51.41 kB / 1.03 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.7955, allocations: 153 kB / 1.031 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.7955, allocations: 29.73 kB / 1.031 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.7956, allocations: 92.14 kB / 1.031 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.7956, allocations: 31.58 kB / 1.031 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.7957, allocations: 13.72 kB / 1.031 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.7958, allocations: 326.8 kB / 1.031 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.529e-05/0.7959, allocations: 23.98 kB / 1.031 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.7959, allocations: 27.98 kB / 1.031 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.913e-05/0.796, allocations: 64.77 kB / 1.031 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.796, allocations: 0 / 1.031 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000144/0.7962, allocations: 105.7 kB / 1.031 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.7962, allocations: 4 kB / 1.031 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.7962, allocations: 0 / 1.031 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.7962, allocations: 0 / 1.031 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.7963, allocations: 4 kB / 1.031 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.7963, allocations: 0 / 1.031 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.458e-05/0.7963, allocations: 0 / 1.031 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.7963, allocations: 0 / 1.031 GB, free: 7.934 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.0001192/0.7964, allocations: 125.8 kB / 1.031 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.7965, allocations: 11.94 kB / 1.031 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.7967, allocations: 114.1 kB / 1.032 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.7967, allocations: 0 / 1.032 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.7967, allocations: 0 / 1.032 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.7967, allocations: 4 kB / 1.032 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.7969, allocations: 193.5 kB / 1.032 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.7969, allocations: 8 kB / 1.032 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-06/0.7969, allocations: 0 / 1.032 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7969, allocations: 0 / 1.032 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.7969, allocations: 4 kB / 1.032 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7969, allocations: 4.031 kB / 1.032 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7969, allocations: 0 / 1.032 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.7971, allocations: 121 kB / 1.032 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.7971, allocations: 81.02 kB / 1.032 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.7972, allocations: 7.875 kB / 1.032 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.581e-05/0.7972, allocations: 4 kB / 1.032 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.7972, allocations: 0 / 1.032 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.7972, allocations: 0 / 1.032 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001116/0.7973, allocations: 129.6 kB / 1.032 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7974, allocations: 3.938 kB / 1.032 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007327/0.7981, allocations: 211.8 kB / 1.032 GB, free: 6.836 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.0009853/0.7991, allocations: 330.9 kB / 1.033 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.7993, allocations: 93.67 kB / 1.033 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7993, allocations: 0 / 1.033 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/0.7993, allocations: 69.69 kB / 1.033 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.7996, allocations: 12.83 kB / 1.033 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.8001, allocations: 292.5 kB / 1.033 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.8004, allocations: 0.7043 MB / 1.034 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.584e-05/0.8004, allocations: 11.44 kB / 1.034 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.8004, allocations: 0 / 1.034 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of Templates: time 0.008529/0.809, allocations: 3.959 MB / 1.038 GB, free: 1.309 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches