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.0008542/0.0008542, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.006441/0.006441, allocations: 171.2 kB / 16.26 MB, free: 6.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.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.821/2.821, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004032, allocations: 11.98 kB / 0.8729 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7675/0.7679, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001603/0.7696, allocations: 1.167 MB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004399/0.774, allocations: 2.963 MB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.774, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.716e-05/0.7741, allocations: 7.922 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.274e-05/0.7742, allocations: 11.86 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003666/0.7778, allocations: 1.386 MB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.965e-05/0.7779, allocations: 43.73 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.778, allocations: 7.984 kB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.263e-05/0.778, allocations: 11.94 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.277e-05/0.7781, allocations: 19.86 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.7781, allocations: 0 / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.7803, allocations: 1.474 MB / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.7803, allocations: 0 / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.588e-05/0.7803, allocations: 49.56 kB / 1.03 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.7817, allocations: 1.121 MB / 1.031 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.7817, allocations: 7.984 kB / 1.031 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7817, allocations: 4 kB / 1.031 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.7818, allocations: 0 / 1.031 GB, free: 7.586 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.0005831/0.7823, allocations: 0.5107 MB / 1.032 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.7824, allocations: 15.97 kB / 1.032 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.7825, allocations: 76.22 kB / 1.032 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.7826, allocations: 251.5 kB / 1.032 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.292e-05/0.7827, allocations: 154.9 kB / 1.032 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.175e-05/0.7827, allocations: 154.9 kB / 1.032 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.754e-05/0.7828, allocations: 105.1 kB / 1.032 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.7828, allocations: 75.28 kB / 1.032 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.763e-05/0.7829, allocations: 150.6 kB / 1.033 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.115e-05/0.7829, allocations: 150.6 kB / 1.033 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.761e-05/0.783, allocations: 158.5 kB / 1.033 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.7833, allocations: 469.8 kB / 1.033 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.177e-05/0.7834, allocations: 169.1 kB / 1.033 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/0.7834, allocations: 80.14 kB / 1.034 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.7835, allocations: 75.28 kB / 1.034 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.019e-05/0.7835, allocations: 113.8 kB / 1.034 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 2.665e-06/0.7835, allocations: 0 / 1.034 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.572e-05/0.7836, allocations: 37.62 kB / 1.034 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.7837, allocations: 126.7 kB / 1.034 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.7839, allocations: 135.8 kB / 1.034 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.7839, allocations: 29.7 kB / 1.034 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.7839, allocations: 88.14 kB / 1.034 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/0.784, allocations: 4 kB / 1.034 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.784, allocations: 17.7 kB / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7841, allocations: 314.8 kB / 1.034 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/0.7842, allocations: 4 kB / 1.034 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/0.7842, allocations: 8 kB / 1.034 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.4e-05/0.7842, allocations: 16.78 kB / 1.034 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7842, allocations: 0 / 1.034 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001281/0.7844, allocations: 53.55 kB / 1.035 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.7844, allocations: 4 kB / 1.035 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.7844, allocations: 8.062 kB / 1.035 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.7844, allocations: 0 / 1.035 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.084e-06/0.7845, allocations: 0 / 1.035 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.7845, allocations: 7.938 kB / 1.035 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.7845, allocations: 3.938 kB / 1.035 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.7845, allocations: 0 / 1.035 GB, free: 3.848 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.0001173/0.7846, allocations: 194.4 kB / 1.035 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.7847, allocations: 112.8 kB / 1.035 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.11e-05/0.7848, allocations: 112.9 kB / 1.035 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-05/0.7848, allocations: 176.3 kB / 1.035 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.272e-05/0.7849, allocations: 188.2 kB / 1.035 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.02e-05/0.785, allocations: 184.3 kB / 1.035 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.7852, allocations: 413.2 kB / 1.036 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.345e-05/0.7853, allocations: 117 kB / 1.036 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.7853, allocations: 101 kB / 1.036 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.777e-05/0.7854, allocations: 192.2 kB / 1.036 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.257e-05/0.7855, allocations: 176.3 kB / 1.036 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.371e-05/0.7855, allocations: 184.2 kB / 1.037 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-05/0.7856, allocations: 176.3 kB / 1.037 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.7857, allocations: 311.8 kB / 1.037 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.7858, allocations: 189.9 kB / 1.037 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.699e-05/0.7859, allocations: 180.2 kB / 1.037 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.019e-05/0.786, allocations: 101 kB / 1.038 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.7861, allocations: 188.2 kB / 1.038 GB, free: 416 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.7861, allocations: 113 kB / 1.038 GB, free: 296 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.974e-05/0.7862, allocations: 96.36 kB / 1.038 GB, free: 200 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7862, allocations: 0 / 1.038 GB, free: 200 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007205/0.7869, allocations: 279.9 kB / 1.038 GB, free: 15.92 MB / 0.795 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.001089/0.788, allocations: 0.5453 MB / 1.039 GB, free: 15.37 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.727e-05/0.7881, allocations: 41.69 kB / 1.039 GB, free: 15.32 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.7881, allocations: 0 / 1.039 GB, free: 15.32 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.917e-06/0.7881, allocations: 3.938 kB / 1.039 GB, free: 15.32 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.7886, allocations: 0.5295 MB / 1.039 GB, free: 14.79 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.7889, allocations: 263.6 kB / 1.04 GB, free: 14.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.7891, allocations: 0.6809 MB / 1.04 GB, free: 13.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.281e-05/0.7891, allocations: 4 kB / 1.04 GB, free: 13.79 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.262e-05/0.7892, allocations: 11.44 kB / 1.04 GB, free: 13.78 MB / 0.795 GB Notification: Performance of SimCode: time 1.543e-06/0.7892, allocations: 3.938 kB / 1.04 GB, free: 13.78 MB / 0.795 GB Notification: Performance of Templates: time 0.01006/0.7992, allocations: 5.679 MB / 1.046 GB, free: 8.148 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