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.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_10_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_10_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.001413/0.001413, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001847/0.001847, allocations: 192.4 kB / 16.25 MB, free: 6.625 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.472/1.472, allocations: 222.9 MB / 239.9 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.718/2.718, allocations: 437 MB / 0.71 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 67.89 kB / 0.8688 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7672/0.7687, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00304/0.7718, allocations: 1.506 MB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0047/0.7765, allocations: 2.9 MB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.7766, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.7767, allocations: 3.938 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.055e-05/0.7767, allocations: 11.86 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003793/0.7805, allocations: 1.467 MB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.349e-05/0.7806, allocations: 39.75 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.406e-05/0.7807, allocations: 7.984 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.014e-05/0.7807, allocations: 19.86 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.157e-05/0.7808, allocations: 19.88 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.7808, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.7827, allocations: 1.463 MB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.7828, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.7828, allocations: 27.86 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.7842, allocations: 1.103 MB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7842, allocations: 0 / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7842, allocations: 0 / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.7842, allocations: 0 / 1.025 GB, free: 10.1 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006221/0.7848, allocations: 0.5108 MB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.7849, allocations: 8.031 kB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.556e-05/0.785, allocations: 88.12 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.7852, allocations: 251.5 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.436e-05/0.7852, allocations: 162.9 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.99e-05/0.7853, allocations: 150.9 kB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.609e-05/0.7854, allocations: 109.1 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.7854, allocations: 75.28 kB / 1.027 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.771e-05/0.7855, allocations: 150.6 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.184e-05/0.7856, allocations: 154.6 kB / 1.027 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.316e-05/0.7857, allocations: 150.6 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.786, allocations: 469.9 kB / 1.027 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.568e-05/0.7861, allocations: 169.1 kB / 1.028 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.7862, allocations: 84.14 kB / 1.028 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.7862, allocations: 79.28 kB / 1.028 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.721e-05/0.7863, allocations: 109.8 kB / 1.028 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.7863, allocations: 0 / 1.028 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.357e-05/0.7864, allocations: 41.55 kB / 1.028 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.7864, allocations: 130.7 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.7866, allocations: 135.7 kB / 1.028 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.7866, allocations: 25.7 kB / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.7867, allocations: 96.12 kB / 1.028 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.7867, allocations: 0 / 1.028 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.7867, allocations: 17.7 kB / 1.028 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.7868, allocations: 318.8 kB / 1.029 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.7869, allocations: 0 / 1.029 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.683e-05/0.7869, allocations: 4 kB / 1.029 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.225e-05/0.7869, allocations: 20.84 kB / 1.029 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.7869, allocations: 4.031 kB / 1.029 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001349/0.7871, allocations: 57.48 kB / 1.029 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.7871, allocations: 4 kB / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-05/0.7871, allocations: 4 kB / 1.029 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.7872, allocations: 7.875 kB / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.7872, allocations: 0 / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.7872, allocations: 0 / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.426e-05/0.7872, allocations: 7.844 kB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.7872, allocations: 4 kB / 1.029 GB, free: 6.332 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.0001106/0.7873, allocations: 193.1 kB / 1.029 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.7874, allocations: 108.9 kB / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.597e-05/0.7875, allocations: 108.8 kB / 1.029 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.925e-05/0.7875, allocations: 180.3 kB / 1.029 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.571e-05/0.7876, allocations: 188.2 kB / 1.029 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.233e-05/0.7877, allocations: 176.3 kB / 1.03 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.7879, allocations: 413.2 kB / 1.03 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.463e-05/0.788, allocations: 108.9 kB / 1.03 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.788, allocations: 101 kB / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.007e-05/0.7881, allocations: 192.2 kB / 1.03 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/0.7881, allocations: 184.3 kB / 1.031 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.395e-05/0.7882, allocations: 180.3 kB / 1.031 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.386e-05/0.7883, allocations: 180.2 kB / 1.031 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.7884, allocations: 315.6 kB / 1.031 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-05/0.7885, allocations: 189.9 kB / 1.031 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.122e-05/0.7886, allocations: 180.3 kB / 1.032 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-05/0.7887, allocations: 108.9 kB / 1.032 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.7887, allocations: 180.2 kB / 1.032 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.7888, allocations: 104.9 kB / 1.032 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.905e-05/0.7888, allocations: 100.8 kB / 1.032 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7888, allocations: 0 / 1.032 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006777/0.7895, allocations: 283.8 kB / 1.032 GB, free: 2.414 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 (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.001024/0.7905, allocations: 0.534 MB / 1.033 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.7907, allocations: 45.69 kB / 1.033 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.7907, allocations: 0 / 1.033 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.7907, allocations: 0 / 1.033 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.7911, allocations: 473.2 kB / 1.033 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.7914, allocations: 240.2 kB / 1.034 GB, free: 1.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.7917, allocations: 0.6846 MB / 1.034 GB, free: 388 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.443e-05/0.7917, allocations: 0 / 1.034 GB, free: 388 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.7917, allocations: 11.44 kB / 1.034 GB, free: 376 kB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7917, allocations: 0 / 1.034 GB, free: 376 kB / 0.7794 GB Notification: Performance of Templates: time 0.009165/0.8009, allocations: 5.652 MB / 1.04 GB, free: 10.77 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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