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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 104.8 kB / 16.35 MB, free: 6.289 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.001951/0.001951, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.418/2.418, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.64 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2684, 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.InternalResistancesTwoUTubeNegative): time 0.002851/0.2713, allocations: 1.456 MB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004665/0.276, allocations: 2.895 MB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/0.2761, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.2762, allocations: 3.938 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.882e-05/0.2763, allocations: 15.84 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004249/0.2805, allocations: 1.585 MB / 1.033 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.2807, allocations: 43.73 kB / 1.033 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.2807, allocations: 4 kB / 1.033 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.992e-05/0.2807, allocations: 11.94 kB / 1.033 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.341e-05/0.2808, allocations: 27.86 kB / 1.033 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.2808, allocations: 0 / 1.033 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.2828, allocations: 1.529 MB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.2828, allocations: 3.938 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.2829, allocations: 23.86 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.2843, allocations: 1.107 MB / 1.035 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2844, allocations: 4 kB / 1.035 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2844, allocations: 0 / 1.035 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.2844, allocations: 0 / 1.035 GB, free: 9.312 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005814/0.285, allocations: 0.5204 MB / 1.036 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.285, allocations: 12.03 kB / 1.036 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.2851, allocations: 88.11 kB / 1.036 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.2852, allocations: 247.6 kB / 1.036 GB, free: 8.367 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/0.2853, allocations: 154.9 kB / 1.036 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.2853, allocations: 150.9 kB / 1.036 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.038e-05/0.2854, allocations: 113 kB / 1.037 GB, free: 7.949 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.2854, allocations: 75.28 kB / 1.037 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.2855, allocations: 150.6 kB / 1.037 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.74e-05/0.2855, allocations: 150.6 kB / 1.037 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.797e-05/0.2856, allocations: 158.6 kB / 1.037 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.2858, allocations: 469.9 kB / 1.037 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.957e-05/0.2859, allocations: 177.1 kB / 1.038 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.286, allocations: 84.12 kB / 1.038 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.286, allocations: 75.28 kB / 1.038 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.286, allocations: 113.8 kB / 1.038 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 2.926e-06/0.286, allocations: 3.984 kB / 1.038 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.102e-05/0.2861, allocations: 33.61 kB / 1.038 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.2862, allocations: 126.7 kB / 1.038 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.2863, allocations: 132.8 kB / 1.038 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.2863, allocations: 33.64 kB / 1.038 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.2864, allocations: 96.03 kB / 1.038 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.2864, allocations: 0 / 1.038 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.2864, allocations: 25.66 kB / 1.038 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.2865, allocations: 318.8 kB / 1.039 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.2865, allocations: 7.938 kB / 1.039 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.753e-05/0.2866, allocations: 8 kB / 1.039 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.422e-05/0.2866, allocations: 8.859 kB / 1.039 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2866, allocations: 0 / 1.039 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001169/0.2867, allocations: 53.64 kB / 1.039 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2868, allocations: 4 kB / 1.039 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.2868, allocations: 7.984 kB / 1.039 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2868, allocations: 4.062 kB / 1.039 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.285e-06/0.2868, allocations: 3.938 kB / 1.039 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2868, allocations: 0 / 1.039 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.585e-05/0.2868, allocations: 7.906 kB / 1.039 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.2868, allocations: 0 / 1.039 GB, free: 5.531 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 8.161e-05/0.2869, allocations: 185.1 kB / 1.039 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-05/0.287, allocations: 108.9 kB / 1.039 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.405e-05/0.287, allocations: 116.8 kB / 1.039 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.254e-05/0.2871, allocations: 184.2 kB / 1.039 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.478e-05/0.2872, allocations: 176.3 kB / 1.039 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.744e-05/0.2872, allocations: 184.2 kB / 1.04 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.2874, allocations: 413.2 kB / 1.04 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.531e-05/0.2875, allocations: 108.9 kB / 1.04 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.949e-05/0.2875, allocations: 112.9 kB / 1.04 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.614e-05/0.2876, allocations: 176.3 kB / 1.04 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-05/0.2876, allocations: 180.2 kB / 1.041 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.157e-05/0.2877, allocations: 176.3 kB / 1.041 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-05/0.2877, allocations: 192.2 kB / 1.041 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.2878, allocations: 307.7 kB / 1.041 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.2879, allocations: 189.9 kB / 1.041 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.22e-05/0.288, allocations: 184.2 kB / 1.042 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.2881, allocations: 104.9 kB / 1.042 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.2881, allocations: 180.3 kB / 1.042 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.2882, allocations: 105 kB / 1.042 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.284e-05/0.2882, allocations: 99.27 kB / 1.042 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2883, allocations: 0 / 1.042 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006699/0.2889, allocations: 283.8 kB / 1.042 GB, free: 1.621 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001052/0.29, allocations: 0.5443 MB / 1.043 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.693e-05/0.2901, allocations: 37.7 kB / 1.043 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2901, allocations: 0 / 1.043 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.466e-06/0.2901, allocations: 4 kB / 1.043 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.2905, allocations: 468 kB / 1.043 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.2908, allocations: 244.2 kB / 1.044 GB, free: 300 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.2911, allocations: 0.6807 MB / 1.044 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.27e-05/0.2911, allocations: 0 / 1.044 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.161e-05/0.2911, allocations: 7.438 kB / 1.044 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of SimCode: time 1.844e-06/0.2911, allocations: 4 kB / 1.044 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of Templates: time 0.00938/0.3005, allocations: 5.643 MB / 1.05 GB, free: 9.988 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Rgb,Rgg1,Rgg2,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg1,Rgg2,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x