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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 194 kB / 16.53 MB, free: 6.391 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.505/1.505, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.854/2.854, allocations: 437 MB / 0.7103 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.89 kB / 0.8693 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.823/0.8243, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002839/0.8272, allocations: 1.42 MB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004479/0.8317, allocations: 2.868 MB / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.8318, allocations: 0 / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.8319, allocations: 3.938 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.364e-05/0.8319, allocations: 15.86 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003914/0.8359, allocations: 1.564 MB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.143e-05/0.8359, allocations: 39.73 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.011e-05/0.836, allocations: 7.984 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.855e-05/0.836, allocations: 11.94 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.525e-05/0.8361, allocations: 19.92 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.8361, allocations: 11.86 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.8381, allocations: 1.416 MB / 1.025 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.8381, allocations: 3.984 kB / 1.025 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.8382, allocations: 19.88 kB / 1.025 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.8395, allocations: 1.084 MB / 1.026 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8395, allocations: 0 / 1.026 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8395, allocations: 0 / 1.026 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.8395, allocations: 0 / 1.026 GB, free: 9.984 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.0006111/0.8401, allocations: 0.5224 MB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.8402, allocations: 8.031 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.293e-05/0.8402, allocations: 84.12 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.8404, allocations: 249.9 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.1e-05/0.8405, allocations: 154.9 kB / 1.027 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.8406, allocations: 150.9 kB / 1.027 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.627e-05/0.8406, allocations: 105.1 kB / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.8407, allocations: 75.28 kB / 1.027 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.242e-05/0.8407, allocations: 150.6 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.688e-05/0.8408, allocations: 162.5 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.116e-05/0.8408, allocations: 158.5 kB / 1.027 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.8411, allocations: 457.9 kB / 1.028 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.164e-05/0.8412, allocations: 169.1 kB / 1.028 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.8412, allocations: 80.14 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.8413, allocations: 83.27 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.8413, allocations: 117.7 kB / 1.028 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.8413, allocations: 3.938 kB / 1.028 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.019e-05/0.8414, allocations: 33.61 kB / 1.028 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.8415, allocations: 126.7 kB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.8416, allocations: 129.8 kB / 1.029 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.8416, allocations: 25.7 kB / 1.029 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.8417, allocations: 100.1 kB / 1.029 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.8417, allocations: 0 / 1.029 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.8417, allocations: 13.72 kB / 1.029 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.8419, allocations: 318.8 kB / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.8419, allocations: 0 / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/0.8419, allocations: 7.984 kB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.671e-05/0.8419, allocations: 16.8 kB / 1.029 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.842, allocations: 4 kB / 1.029 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000126/0.8421, allocations: 49.58 kB / 1.029 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.8421, allocations: 7.938 kB / 1.029 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.8421, allocations: 7.984 kB / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.8422, allocations: 0 / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.8422, allocations: 0 / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.8422, allocations: 0 / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.8422, allocations: 4 kB / 1.029 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.8422, allocations: 4 kB / 1.029 GB, free: 6.234 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.0001131/0.8423, allocations: 181.1 kB / 1.029 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/0.8424, allocations: 120.8 kB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/0.8425, allocations: 108.8 kB / 1.029 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.423e-05/0.8425, allocations: 188.3 kB / 1.03 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.404e-05/0.8426, allocations: 180.3 kB / 1.03 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.533e-05/0.8427, allocations: 180.3 kB / 1.03 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.8429, allocations: 417.2 kB / 1.03 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.963e-05/0.843, allocations: 108.9 kB / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.843, allocations: 104.9 kB / 1.031 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-05/0.8431, allocations: 184.3 kB / 1.031 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/0.8432, allocations: 176.3 kB / 1.031 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.29e-05/0.8432, allocations: 180.2 kB / 1.031 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.124e-05/0.8433, allocations: 184.2 kB / 1.031 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.8434, allocations: 311.7 kB / 1.032 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.472e-05/0.8435, allocations: 182 kB / 1.032 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.327e-05/0.8436, allocations: 188.1 kB / 1.032 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.8436, allocations: 109 kB / 1.032 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.8437, allocations: 180.2 kB / 1.032 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/0.8438, allocations: 105 kB / 1.032 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.727e-05/0.8438, allocations: 96.52 kB / 1.032 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8438, allocations: 0 / 1.032 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007472/0.8446, allocations: 279.8 kB / 1.033 GB, free: 2.328 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.00101/0.8456, allocations: 0.5193 MB / 1.033 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.8457, allocations: 41.64 kB / 1.033 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8457, allocations: 3.938 kB / 1.033 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.8457, allocations: 0 / 1.033 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.8462, allocations: 481.3 kB / 1.034 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.8465, allocations: 232 kB / 1.034 GB, free: 1.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.8468, allocations: 0.6846 MB / 1.035 GB, free: 316 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.539e-05/0.8468, allocations: 8 kB / 1.035 GB, free: 308 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.143e-05/0.8468, allocations: 7.438 kB / 1.035 GB, free: 300 kB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8468, allocations: 0 / 1.035 GB, free: 300 kB / 0.7794 GB Notification: Performance of Templates: time 0.009624/0.8565, allocations: 5.479 MB / 1.04 GB, free: 10.87 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Rgb,Rgg,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x