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.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.401/2.401, allocations: 390.3 MB / 402.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009309/0.0009311, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 221.3 MB / 0.7915 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009404/0.0009404, allocations: 99.5 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.91e-05/2.914e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3201, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.325, allocations: 170.2 MB / 1.385 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/1.326, allocations: 123.9 kB / 1.385 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04734/1.373, allocations: 15.07 MB / 1.4 GB, free: 2.723 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.785e-06/1.373, allocations: 4 kB / 1.4 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.797e-06/1.373, allocations: 0 / 1.4 GB, free: 2.719 MB / 0.8542 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.001315/1.375, allocations: 0.5406 MB / 1.4 GB, free: 2.141 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/1.375, allocations: 12.03 kB / 1.4 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.976e-05/1.375, allocations: 83.14 kB / 1.401 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/1.375, allocations: 246.2 kB / 1.401 GB, free: 1.766 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.805e-05/1.375, allocations: 162.2 kB / 1.401 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.192e-05/1.375, allocations: 154.5 kB / 1.401 GB, free: 1.457 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/1.375, allocations: 104.9 kB / 1.401 GB, free: 1.348 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-05/1.375, allocations: 75.28 kB / 1.401 GB, free: 1.273 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.552e-05/1.375, allocations: 150.6 kB / 1.401 GB, free: 1.125 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.778e-05/1.375, allocations: 150.6 kB / 1.402 GB, free: 0.9766 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/1.376, allocations: 158.5 kB / 1.402 GB, free: 0.8203 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/1.376, allocations: 460.9 kB / 1.402 GB, free: 336 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/1.376, allocations: 176.7 kB / 1.402 GB, free: 152 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/1.376, allocations: 80.14 kB / 1.402 GB, free: 68 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.38e-05/1.376, allocations: 79.28 kB / 1.402 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.959e-05/1.376, allocations: 105.8 kB / 1.403 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.913e-06/1.376, allocations: 3.938 kB / 1.403 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 0.0001095/1.377, allocations: 33.61 kB / 1.403 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.624e-05/1.377, allocations: 126.7 kB / 1.403 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/1.377, allocations: 122.2 kB / 1.403 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/1.377, allocations: 29.7 kB / 1.403 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/1.377, allocations: 95.42 kB / 1.403 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-06/1.377, allocations: 0 / 1.403 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/1.377, allocations: 0 / 1.403 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001787/1.377, allocations: 322.5 kB / 1.403 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.508e-05/1.377, allocations: 4 kB / 1.403 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.612e-05/1.377, allocations: 0 / 1.403 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.526e-05/1.377, allocations: 15.77 kB / 1.403 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.377, allocations: 4 kB / 1.403 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000174/1.378, allocations: 49.58 kB / 1.403 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/1.378, allocations: 5.719 kB / 1.403 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-05/1.378, allocations: 4 kB / 1.403 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1.378, allocations: 0 / 1.403 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.589e-06/1.378, allocations: 3.984 kB / 1.403 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.378, allocations: 0 / 1.403 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/1.378, allocations: 0 / 1.403 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/1.378, allocations: 8 kB / 1.403 GB, free: 15.04 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000121/1.378, allocations: 188.2 kB / 1.403 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.179e-05/1.378, allocations: 112.9 kB / 1.404 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.21e-05/1.378, allocations: 104.6 kB / 1.404 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.504e-05/1.378, allocations: 184.3 kB / 1.404 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.361e-05/1.378, allocations: 188.1 kB / 1.404 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-05/1.378, allocations: 180.2 kB / 1.404 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/1.379, allocations: 416.6 kB / 1.405 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.051e-05/1.379, allocations: 104.8 kB / 1.405 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/1.379, allocations: 108.9 kB / 1.405 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-05/1.379, allocations: 176.3 kB / 1.405 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.468e-05/1.379, allocations: 184.2 kB / 1.405 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.407e-05/1.379, allocations: 176.3 kB / 1.405 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.155e-05/1.379, allocations: 180.3 kB / 1.406 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/1.379, allocations: 311.5 kB / 1.406 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/1.379, allocations: 189.9 kB / 1.406 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.883e-05/1.379, allocations: 176.3 kB / 1.406 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/1.379, allocations: 109.7 kB / 1.406 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/1.38, allocations: 188.2 kB / 1.406 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/1.38, allocations: 101 kB / 1.407 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.78e-05/1.38, allocations: 92.59 kB / 1.407 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.38, allocations: 0 / 1.407 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001149/1.381, allocations: 329.9 kB / 1.407 GB, free: 11.13 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00159/1.382, allocations: 0.5406 MB / 1.407 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001084/1.383, allocations: 44.78 kB / 1.408 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.383, allocations: 2.438 kB / 1.408 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.868e-06/1.383, allocations: 3.938 kB / 1.408 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/1.383, allocations: 0.5257 MB / 1.408 GB, free: 10 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/1.383, allocations: 149.1 kB / 1.408 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/1.384, allocations: 0.6887 MB / 1.409 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.83e-05/1.384, allocations: 0 / 1.409 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.379e-05/1.384, allocations: 7.438 kB / 1.409 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/1.384, allocations: 0 / 1.409 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of Templates: time 0.01088/1.395, allocations: 5.171 MB / 1.414 GB, free: 4.008 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","../files/Buildings_latest_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