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.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_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.001491/0.001491, allocations: 113.7 kB / 16.37 MB, free: 6.004 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.001602/0.001602, allocations: 196 kB / 17.31 MB, free: 5.613 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.489/2.489, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 64.94 kB / 0.8774 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2747, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.00244/0.2772, allocations: 1.388 MB / 1.028 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002665/0.2799, allocations: 1.786 MB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.2799, allocations: 7.938 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.048e-05/0.2801, allocations: 7.922 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.2802, allocations: 35.83 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002599/0.2828, allocations: 1.14 MB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.285e-05/0.2829, allocations: 43.8 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.283, allocations: 3.938 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.385e-05/0.2831, allocations: 19.97 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.465e-05/0.2831, allocations: 31.78 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.2831, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.2843, allocations: 0.893 MB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.2844, allocations: 27.92 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.2844, allocations: 27.8 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009604/0.2854, allocations: 0.7952 MB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2854, allocations: 0 / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.986e-06/0.2854, allocations: 4 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2854, allocations: 0 / 1.033 GB, free: 11.79 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005929/0.286, allocations: 474.8 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.286, allocations: 12.03 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.2861, allocations: 8.844 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.2863, allocations: 183 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.2863, allocations: 12.38 kB / 1.034 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.2863, allocations: 3.938 kB / 1.034 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.06e-05/0.2864, allocations: 53.62 kB / 1.034 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.2864, allocations: 0 / 1.034 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.2864, allocations: 0 / 1.034 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2864, allocations: 0 / 1.034 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.584e-05/0.2865, allocations: 24 kB / 1.034 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.2866, allocations: 197.5 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.685e-05/0.2867, allocations: 54.5 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.903e-05/0.2868, allocations: 32.89 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.2868, allocations: 3.938 kB / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.2868, allocations: 42.55 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.2868, allocations: 0 / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.000199/0.287, allocations: 113.6 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.2871, allocations: 51.41 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.2872, allocations: 154.5 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.2872, allocations: 25.7 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.2873, allocations: 100.1 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.2873, allocations: 23.56 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.2874, allocations: 21.7 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.2875, allocations: 326.7 kB / 1.035 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.369e-05/0.2875, allocations: 23.98 kB / 1.035 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.647e-05/0.2875, allocations: 27.92 kB / 1.035 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.527e-05/0.2876, allocations: 68.86 kB / 1.035 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2876, allocations: 0 / 1.035 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001108/0.2877, allocations: 89.73 kB / 1.035 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2878, allocations: 8 kB / 1.035 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.2878, allocations: 3.984 kB / 1.035 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2878, allocations: 3.984 kB / 1.035 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.2878, allocations: 0 / 1.035 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2878, allocations: 0 / 1.035 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.749e-05/0.2879, allocations: 0 / 1.035 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.2879, allocations: 4.312 kB / 1.035 GB, free: 9.461 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 9.056e-05/0.288, allocations: 133.7 kB / 1.035 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.288, allocations: 7.844 kB / 1.035 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.2881, allocations: 110.3 kB / 1.035 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2882, allocations: 0 / 1.035 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2882, allocations: 0 / 1.035 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.2882, allocations: 0 / 1.035 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.2883, allocations: 197.6 kB / 1.035 GB, free: 8.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.2884, allocations: 0 / 1.035 GB, free: 8.953 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.2884, allocations: 3.938 kB / 1.035 GB, free: 8.949 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2884, allocations: 0 / 1.035 GB, free: 8.949 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2884, allocations: 8.031 kB / 1.035 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2884, allocations: 0 / 1.035 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2884, allocations: 0 / 1.035 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.2885, allocations: 120.9 kB / 1.035 GB, free: 8.805 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.2886, allocations: 92.94 kB / 1.036 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.2886, allocations: 0 / 1.036 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.291e-05/0.2887, allocations: 0 / 1.036 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.2887, allocations: 0 / 1.036 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.2887, allocations: 8.031 kB / 1.036 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.218e-05/0.2888, allocations: 121.2 kB / 1.036 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2888, allocations: 0 / 1.036 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005372/0.2893, allocations: 203.8 kB / 1.036 GB, free: 8.371 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.0007436/0.2901, allocations: 339 kB / 1.036 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001549/0.2903, allocations: 93.67 kB / 1.036 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2903, allocations: 0 / 1.036 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.045e-05/0.2903, allocations: 69.62 kB / 1.036 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.2906, allocations: 12.61 kB / 1.036 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.291, allocations: 229.4 kB / 1.037 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.2913, allocations: 0.7041 MB / 1.037 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.738e-05/0.2913, allocations: 0 / 1.037 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.419e-05/0.2913, allocations: 7.438 kB / 1.037 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2913, allocations: 0 / 1.037 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of Templates: time 0.007819/0.2992, allocations: 4.319 MB / 1.041 GB, free: 2.605 MB / 0.8106 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 -s gbode -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/jenkins1/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