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/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.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/Buildings 10.0.0-master/package.mo): time 2.28/2.28, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.00132/0.00132, allocations: 190.8 kB / 0.4902 GB, free: 2.246 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001006/0.001007, allocations: 108.1 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003563, allocations: 10.41 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3357, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2228/0.5585, allocations: 171 MB / 1.396 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/0.5589, allocations: 123.9 kB / 1.396 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.04686/0.6058, allocations: 15.46 MB / 1.411 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6058, allocations: 3.938 kB / 1.411 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.6059, allocations: 8 kB / 1.412 GB, free: 14.82 MB / 0.9167 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.00109/0.607, allocations: 0.5689 MB / 1.412 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.607, allocations: 12.03 kB / 1.412 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.6071, allocations: 79.23 kB / 1.412 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.6073, allocations: 244.3 kB / 1.412 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/0.6073, allocations: 154.6 kB / 1.413 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-05/0.6074, allocations: 158.6 kB / 1.413 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.886e-05/0.6075, allocations: 101 kB / 1.413 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.6075, allocations: 75.28 kB / 1.413 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.53e-05/0.6076, allocations: 154.5 kB / 1.413 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-05/0.6077, allocations: 150.6 kB / 1.413 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.772e-05/0.6077, allocations: 158.5 kB / 1.413 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.6081, allocations: 465.9 kB / 1.414 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.6082, allocations: 165.1 kB / 1.414 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.6082, allocations: 79.28 kB / 1.414 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.342e-05/0.6083, allocations: 109.8 kB / 1.414 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 3.256e-06/0.6083, allocations: 4 kB / 1.414 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 8.971e-05/0.6084, allocations: 37.55 kB / 1.414 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.6085, allocations: 126.7 kB / 1.414 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.6087, allocations: 122 kB / 1.414 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.6087, allocations: 25.7 kB / 1.414 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.6088, allocations: 92.14 kB / 1.414 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/0.6088, allocations: 0 / 1.414 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-06/0.6088, allocations: 0 / 1.414 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.6089, allocations: 326.8 kB / 1.415 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/0.6089, allocations: 4 kB / 1.415 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.615e-05/0.609, allocations: 4 kB / 1.415 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.005e-05/0.609, allocations: 8 kB / 1.415 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.609, allocations: 0 / 1.415 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001241/0.6091, allocations: 57.53 kB / 1.415 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.6092, allocations: 4 kB / 1.415 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.6092, allocations: 4 kB / 1.415 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.6092, allocations: 3.938 kB / 1.415 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.011e-06/0.6092, allocations: 0 / 1.415 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.6092, allocations: 4.062 kB / 1.415 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.498e-05/0.6093, allocations: 7.906 kB / 1.415 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-06/0.6093, allocations: 0 / 1.415 GB, free: 11.15 MB / 0.9167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.6094, allocations: 185.9 kB / 1.415 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-05/0.6095, allocations: 109 kB / 1.415 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.6095, allocations: 124.7 kB / 1.415 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.645e-05/0.6096, allocations: 180.3 kB / 1.415 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-05/0.6097, allocations: 184.3 kB / 1.416 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.537e-05/0.6097, allocations: 176.3 kB / 1.416 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.61, allocations: 421.2 kB / 1.416 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-05/0.61, allocations: 104.9 kB / 1.416 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.858e-05/0.6101, allocations: 105 kB / 1.416 GB, free: 9.477 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.805e-05/0.6101, allocations: 184.2 kB / 1.417 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-05/0.6102, allocations: 180.2 kB / 1.417 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-05/0.6103, allocations: 176.3 kB / 1.417 GB, free: 8.926 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.936e-05/0.6103, allocations: 188.2 kB / 1.417 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.6105, allocations: 315.6 kB / 1.417 GB, free: 8.402 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.6106, allocations: 186 kB / 1.418 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.887e-05/0.6107, allocations: 184.2 kB / 1.418 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.112e-05/0.6107, allocations: 105 kB / 1.418 GB, free: 7.898 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.46e-05/0.6108, allocations: 176.6 kB / 1.418 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.6109, allocations: 104.9 kB / 1.418 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.093e-05/0.6109, allocations: 108.7 kB / 1.418 GB, free: 7.504 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/0.6109, allocations: 0 / 1.418 GB, free: 7.504 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001123/0.6121, allocations: 331.4 kB / 1.419 GB, free: 7.18 MB / 0.9167 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 (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.00106/0.6131, allocations: 0.5522 MB / 1.419 GB, free: 6.617 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.458e-05/0.6132, allocations: 41.7 kB / 1.419 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6133, allocations: 0 / 1.419 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.6133, allocations: 0 / 1.419 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.6136, allocations: 0.5341 MB / 1.42 GB, free: 6.031 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.6139, allocations: 255.9 kB / 1.42 GB, free: 5.754 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.6142, allocations: 0.6848 MB / 1.421 GB, free: 5.043 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.522e-05/0.6142, allocations: 3.984 kB / 1.421 GB, free: 5.039 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.149e-05/0.6142, allocations: 11.44 kB / 1.421 GB, free: 5.027 MB / 0.9167 GB Notification: Performance of SimCode: time 2.41e-07/0.6142, allocations: 0 / 1.421 GB, free: 5.027 MB / 0.9167 GB Notification: Performance of Templates: time 0.5636/1.178, allocations: 5.242 MB / 1.426 GB, free: 183.7 MB / 0.9167 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","../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