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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006354/0.006354, allocations: 101.4 kB / 15.73 MB, free: 6.051 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.001533/0.001533, allocations: 202.1 kB / 16.68 MB, free: 5.973 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.637/2.637, allocations: 461.8 MB / 0.7347 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.91 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2855, allocations: 157.4 MB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002282/0.2878, allocations: 1.449 MB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003974/0.2918, allocations: 2.887 MB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.2919, allocations: 0 / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.2919, allocations: 3.938 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.049e-05/0.292, allocations: 19.84 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003482/0.2954, allocations: 1.592 MB / 1.214 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.102e-05/0.2955, allocations: 35.75 kB / 1.214 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.2956, allocations: 7.984 kB / 1.214 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.789e-05/0.2956, allocations: 11.94 kB / 1.214 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.985e-05/0.2957, allocations: 19.88 kB / 1.214 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.2957, allocations: 0 / 1.214 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.2977, allocations: 1.537 MB / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.2977, allocations: 7.984 kB / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.2978, allocations: 19.88 kB / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.299, allocations: 1.111 MB / 1.216 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.299, allocations: 0 / 1.216 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.803e-06/0.299, allocations: 0 / 1.216 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.299, allocations: 0 / 1.216 GB, free: 0.9102 MB / 0.9669 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.00055/0.2996, allocations: 0.5262 MB / 1.217 GB, free: 344 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.2996, allocations: 8.625 kB / 1.217 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.2997, allocations: 80.22 kB / 1.217 GB, free: 256 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.2998, allocations: 259.4 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/0.2999, allocations: 150.9 kB / 1.217 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/0.2999, allocations: 150.9 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.075e-05/0.3, allocations: 105.1 kB / 1.218 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.3, allocations: 75.28 kB / 1.218 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/0.3001, allocations: 154.6 kB / 1.218 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-05/0.3001, allocations: 158.5 kB / 1.218 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.955e-05/0.3002, allocations: 158.6 kB / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.3005, allocations: 469.8 kB / 1.219 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.156e-05/0.3005, allocations: 169.1 kB / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.3006, allocations: 80.14 kB / 1.219 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.3006, allocations: 75.28 kB / 1.219 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.3006, allocations: 113.8 kB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3006, allocations: 0 / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.855e-05/0.3007, allocations: 37.55 kB / 1.219 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.3008, allocations: 130.7 kB / 1.219 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.3009, allocations: 135.5 kB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.3009, allocations: 25.7 kB / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.301, allocations: 92.12 kB / 1.219 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.301, allocations: 0 / 1.219 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.301, allocations: 17.72 kB / 1.219 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.223e-05/0.3011, allocations: 314.8 kB / 1.22 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.431e-05/0.3011, allocations: 7.984 kB / 1.22 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.811e-05/0.3012, allocations: 16 kB / 1.22 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/0.3012, allocations: 8.859 kB / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3012, allocations: 0 / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001186/0.3013, allocations: 61.48 kB / 1.22 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3013, allocations: 7.938 kB / 1.22 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.3014, allocations: 7.984 kB / 1.22 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.3014, allocations: 0 / 1.22 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.3014, allocations: 0 / 1.22 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3014, allocations: 4 kB / 1.22 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.217e-05/0.3014, allocations: 4.062 kB / 1.22 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.3014, allocations: 0 / 1.22 GB, free: 13.14 MB / 0.9825 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.427e-05/0.3015, allocations: 185.1 kB / 1.22 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.3016, allocations: 108.8 kB / 1.22 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.507e-05/0.3016, allocations: 116.8 kB / 1.22 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-05/0.3017, allocations: 180.3 kB / 1.22 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.231e-05/0.3017, allocations: 184.2 kB / 1.22 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.161e-05/0.3018, allocations: 180.3 kB / 1.221 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.302, allocations: 405.2 kB / 1.221 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.981e-05/0.302, allocations: 112.8 kB / 1.221 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.3021, allocations: 109 kB / 1.221 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.141e-05/0.3021, allocations: 180.2 kB / 1.221 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.878e-05/0.3022, allocations: 184.2 kB / 1.222 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-05/0.3022, allocations: 184.2 kB / 1.222 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.807e-05/0.3023, allocations: 180.3 kB / 1.222 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.3024, allocations: 311.7 kB / 1.222 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.3025, allocations: 194 kB / 1.222 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.3026, allocations: 188.2 kB / 1.223 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.122e-05/0.3026, allocations: 101 kB / 1.223 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.3027, allocations: 180.3 kB / 1.223 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.3027, allocations: 108.9 kB / 1.223 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.102e-05/0.3028, allocations: 96.67 kB / 1.223 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3028, allocations: 4 kB / 1.223 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006362/0.3034, allocations: 283.8 kB / 1.223 GB, free: 9.219 MB / 0.9825 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.0009862/0.3044, allocations: 0.5334 MB / 1.224 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.929e-05/0.3045, allocations: 37.7 kB / 1.224 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3045, allocations: 4.062 kB / 1.224 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.3045, allocations: 0 / 1.224 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.3049, allocations: 472 kB / 1.224 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.3052, allocations: 244 kB / 1.225 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.3054, allocations: 0.6807 MB / 1.225 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.285e-05/0.3055, allocations: 0 / 1.225 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.149e-05/0.3055, allocations: 11.44 kB / 1.225 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.3055, allocations: 0 / 1.225 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of Templates: time 0.008604/0.3141, allocations: 5.635 MB / 1.231 GB, free: 1.602 MB / 0.9825 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 -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/jenkins/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