Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.397/2.397, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001167/0.001167, allocations: 190.7 kB / 498.1 MB, free: 5.762 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.565/1.565, allocations: 223.2 MB / 0.7948 GB, free: 18.03 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.001062/0.001062, allocations: 92.33 kB / 0.9346 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003714, allocations: 6.969 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.292, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2052/0.4973, allocations: 170.2 MB / 1.389 GB, free: 7.906 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004125/0.4978, allocations: 115.9 kB / 1.389 GB, free: 7.793 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04896/0.5468, allocations: 15.45 MB / 1.404 GB, free: 8.309 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.156e-06/0.5468, allocations: 0 / 1.404 GB, free: 8.309 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.5469, allocations: 4 kB / 1.404 GB, free: 8.305 MB / 0.9011 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.001341/0.5482, allocations: 0.5729 MB / 1.405 GB, free: 7.684 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.5483, allocations: 12.03 kB / 1.405 GB, free: 7.672 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.569e-05/0.5484, allocations: 83.14 kB / 1.405 GB, free: 7.59 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.5486, allocations: 247.5 kB / 1.405 GB, free: 7.309 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.423e-05/0.5487, allocations: 150.6 kB / 1.405 GB, free: 7.16 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/0.5487, allocations: 154.6 kB / 1.406 GB, free: 7.008 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.449e-05/0.5488, allocations: 112.9 kB / 1.406 GB, free: 6.891 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.5489, allocations: 75.28 kB / 1.406 GB, free: 6.816 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.497e-05/0.5489, allocations: 154.5 kB / 1.406 GB, free: 6.664 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.185e-05/0.549, allocations: 150.6 kB / 1.406 GB, free: 6.516 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.702e-05/0.5491, allocations: 162.5 kB / 1.406 GB, free: 6.355 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.5495, allocations: 469.8 kB / 1.407 GB, free: 5.848 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.5496, allocations: 173.1 kB / 1.407 GB, free: 5.668 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.5496, allocations: 75.28 kB / 1.407 GB, free: 5.594 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.979e-05/0.5497, allocations: 105.8 kB / 1.407 GB, free: 5.48 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.5497, allocations: 0 / 1.407 GB, free: 5.48 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 0.000134/0.5499, allocations: 33.7 kB / 1.407 GB, free: 5.441 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.5499, allocations: 126.7 kB / 1.407 GB, free: 5.305 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.5501, allocations: 122.5 kB / 1.407 GB, free: 5.176 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.5501, allocations: 25.7 kB / 1.407 GB, free: 5.145 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.5502, allocations: 92.14 kB / 1.407 GB, free: 5.051 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-06/0.5502, allocations: 0 / 1.407 GB, free: 5.051 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.5502, allocations: 0 / 1.407 GB, free: 5.051 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5504, allocations: 326.8 kB / 1.408 GB, free: 4.723 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.801e-05/0.5504, allocations: 11.88 kB / 1.408 GB, free: 4.711 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.087e-05/0.5505, allocations: 8 kB / 1.408 GB, free: 4.703 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.174e-05/0.5505, allocations: 4 kB / 1.408 GB, free: 4.699 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5505, allocations: 0 / 1.408 GB, free: 4.699 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001492/0.5507, allocations: 53.66 kB / 1.408 GB, free: 4.641 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.5507, allocations: 4 kB / 1.408 GB, free: 4.637 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/0.5507, allocations: 8 kB / 1.408 GB, free: 4.629 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.5507, allocations: 0 / 1.408 GB, free: 4.629 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.874e-06/0.5508, allocations: 0 / 1.408 GB, free: 4.629 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.5508, allocations: 0 / 1.408 GB, free: 4.629 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.5508, allocations: 8.062 kB / 1.408 GB, free: 4.621 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.5508, allocations: 0 / 1.408 GB, free: 4.621 MB / 0.9011 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.0001352/0.551, allocations: 189.1 kB / 1.408 GB, free: 4.426 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.694e-05/0.5511, allocations: 116.8 kB / 1.408 GB, free: 4.305 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.81e-05/0.5511, allocations: 108.9 kB / 1.408 GB, free: 4.191 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.375e-05/0.5512, allocations: 180.2 kB / 1.408 GB, free: 4.008 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-05/0.5513, allocations: 180.3 kB / 1.408 GB, free: 3.824 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.868e-05/0.5514, allocations: 180.3 kB / 1.409 GB, free: 3.641 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.5516, allocations: 421.1 kB / 1.409 GB, free: 3.172 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.085e-05/0.5517, allocations: 105.1 kB / 1.409 GB, free: 3.062 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.329e-05/0.5518, allocations: 108.9 kB / 1.409 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.467e-05/0.5518, allocations: 176.3 kB / 1.409 GB, free: 2.77 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.349e-05/0.5519, allocations: 188.2 kB / 1.41 GB, free: 2.578 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.469e-05/0.552, allocations: 180.2 kB / 1.41 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.864e-05/0.5521, allocations: 184.2 kB / 1.41 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.5523, allocations: 307.7 kB / 1.41 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.356e-05/0.5524, allocations: 190 kB / 1.41 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.367e-05/0.5525, allocations: 184.2 kB / 1.411 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.5526, allocations: 101 kB / 1.411 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.5527, allocations: 181 kB / 1.411 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.5527, allocations: 105 kB / 1.411 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 6.961e-05/0.5528, allocations: 105.8 kB / 1.411 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5528, allocations: 4 kB / 1.411 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00125/0.5541, allocations: 323.5 kB / 1.411 GB, free: 0.6641 MB / 0.9011 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.001687/0.5558, allocations: 0.548 MB / 1.412 GB, free: 108 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.5559, allocations: 41.98 kB / 1.412 GB, free: 60 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5559, allocations: 0 / 1.412 GB, free: 60 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.165e-06/0.5559, allocations: 0 / 1.412 GB, free: 60 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.5563, allocations: 0.538 MB / 1.412 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.5567, allocations: 259.8 kB / 1.413 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.557, allocations: 0.6887 MB / 1.413 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.92e-05/0.557, allocations: 4 kB / 1.413 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.072e-05/0.557, allocations: 7.438 kB / 1.413 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of SimCode: time 3.2e-07/0.557, allocations: 0 / 1.413 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of Templates: time 0.01056/0.5676, allocations: 5.229 MB / 1.419 GB, free: 9.324 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","../files/Buildings_9_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