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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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_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.001591/0.001591, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002019/0.002019, allocations: 193.1 kB / 16.25 MB, free: 6.633 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.369/1.369, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.756/2.756, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.33 kB / 0.9116 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2633, allocations: 159.9 MB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.00245/0.2658, allocations: 1.431 MB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002888/0.2687, allocations: 1.786 MB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.2688, allocations: 0 / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.02e-05/0.2689, allocations: 15.92 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.2691, allocations: 27.89 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.2714, allocations: 1.067 MB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.195e-05/0.2715, allocations: 47.84 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.142e-05/0.2716, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.702e-05/0.2717, allocations: 27.84 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.187e-05/0.2717, allocations: 23.91 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.2717, allocations: 4 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009931/0.2727, allocations: 0.8501 MB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.2728, allocations: 31.84 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.2728, allocations: 27.69 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008727/0.2737, allocations: 0.78 MB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.2737, allocations: 4 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.005e-06/0.2738, allocations: 0 / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.2738, allocations: 3.938 kB / 1.074 GB, free: 4.559 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.0005556/0.2743, allocations: 470.9 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2744, allocations: 12.02 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.2744, allocations: 8.844 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.2746, allocations: 192.6 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.2746, allocations: 4.359 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.2746, allocations: 3.938 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.953e-05/0.2747, allocations: 57.67 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.2747, allocations: 0 / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.2747, allocations: 0 / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.2747, allocations: 0 / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.135e-05/0.2748, allocations: 27.94 kB / 1.075 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.275, allocations: 193.6 kB / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.233e-05/0.275, allocations: 46.52 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.875e-05/0.2751, allocations: 32.88 kB / 1.075 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.2751, allocations: 8 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.2752, allocations: 30.56 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.2752, allocations: 0 / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0002034/0.2754, allocations: 121.5 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.2754, allocations: 51.41 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.2755, allocations: 152.1 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.2756, allocations: 25.7 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.2756, allocations: 100.2 kB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.2756, allocations: 27.55 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.2757, allocations: 17.72 kB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2758, allocations: 326.8 kB / 1.076 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.422e-05/0.2758, allocations: 27.98 kB / 1.076 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.591e-05/0.2759, allocations: 20.14 kB / 1.076 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.492e-05/0.2759, allocations: 77.11 kB / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.276, allocations: 0 / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001062/0.2761, allocations: 89.53 kB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.2761, allocations: 8.062 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.2761, allocations: 0 / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.2761, allocations: 0 / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.154e-06/0.2761, allocations: 3.984 kB / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2761, allocations: 4 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.799e-05/0.2762, allocations: 0 / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.2762, allocations: 3.938 kB / 1.076 GB, free: 2.234 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.012e-05/0.2763, allocations: 129.7 kB / 1.076 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.2763, allocations: 7.906 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.2764, allocations: 117.2 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2765, allocations: 0 / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2765, allocations: 0 / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.2765, allocations: 0 / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.2766, allocations: 193.6 kB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2766, allocations: 4 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.2766, allocations: 0 / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.2766, allocations: 0 / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.2766, allocations: 4 kB / 1.076 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.2766, allocations: 0 / 1.076 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2766, allocations: 4.031 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.2768, allocations: 117 kB / 1.076 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.2768, allocations: 92.86 kB / 1.076 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.2768, allocations: 3.984 kB / 1.076 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.284e-05/0.2769, allocations: 0 / 1.076 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.2769, allocations: 4 kB / 1.076 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.2769, allocations: 0 / 1.076 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.039e-05/0.277, allocations: 124 kB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.605e-06/0.277, allocations: 0 / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005174/0.2775, allocations: 207.8 kB / 1.077 GB, free: 1.145 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.00068/0.2782, allocations: 338.9 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.2783, allocations: 93.67 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2784, allocations: 0 / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.93e-05/0.2784, allocations: 69.69 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.2786, allocations: 14.36 kB / 1.077 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.279, allocations: 247.5 kB / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.2792, allocations: 0.704 MB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.228e-05/0.2793, allocations: 11.98 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.217e-05/0.2793, allocations: 7.438 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.2793, allocations: 0 / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.007288/0.2866, allocations: 4.312 MB / 1.082 GB, free: 11.35 MB / 0.8419 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