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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001244/0.001244, allocations: 177 kB / 498.1 MB, free: 5.73 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.631/1.631, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.0009338/0.000934, allocations: 92.27 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003765, allocations: 10.19 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3397, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2225/0.5623, allocations: 169.5 MB / 1.388 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/0.5627, allocations: 116.7 kB / 1.389 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05587/0.6186, allocations: 15.15 MB / 1.403 GB, free: 9.199 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.216e-06/0.6186, allocations: 0 / 1.403 GB, free: 9.199 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.6186, allocations: 0 / 1.403 GB, free: 9.199 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.001739/0.6204, allocations: 0.5613 MB / 1.404 GB, free: 8.59 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 7.106e-05/0.6205, allocations: 8.031 kB / 1.404 GB, free: 8.582 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.6206, allocations: 83.14 kB / 1.404 GB, free: 8.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.6209, allocations: 243.5 kB / 1.404 GB, free: 8.223 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.6211, allocations: 158.5 kB / 1.404 GB, free: 8.066 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.6212, allocations: 154.6 kB / 1.405 GB, free: 7.914 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.6214, allocations: 101 kB / 1.405 GB, free: 7.809 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.58e-05/0.6215, allocations: 79.27 kB / 1.405 GB, free: 7.73 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.6216, allocations: 150.6 kB / 1.405 GB, free: 7.582 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.6217, allocations: 154.6 kB / 1.405 GB, free: 7.43 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.6218, allocations: 162.5 kB / 1.405 GB, free: 7.27 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006349/0.6225, allocations: 465.8 kB / 1.406 GB, free: 6.766 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.6227, allocations: 169.1 kB / 1.406 GB, free: 6.59 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.759e-05/0.6227, allocations: 75.28 kB / 1.406 GB, free: 6.516 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.254e-05/0.6228, allocations: 109.8 kB / 1.406 GB, free: 6.398 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 1.733e-06/0.6229, allocations: 0 / 1.406 GB, free: 6.398 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 0.0001497/0.623, allocations: 37.55 kB / 1.406 GB, free: 6.355 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.6231, allocations: 126.7 kB / 1.406 GB, free: 6.219 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.6234, allocations: 118.7 kB / 1.406 GB, free: 6.094 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.6234, allocations: 25.7 kB / 1.406 GB, free: 6.062 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.6235, allocations: 96.05 kB / 1.406 GB, free: 5.965 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-06/0.6236, allocations: 3.938 kB / 1.406 GB, free: 5.961 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.6236, allocations: 4 kB / 1.406 GB, free: 5.957 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000214/0.6238, allocations: 322.8 kB / 1.407 GB, free: 5.633 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.789e-05/0.6238, allocations: 4 kB / 1.407 GB, free: 5.629 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.679e-05/0.6239, allocations: 4 kB / 1.407 GB, free: 5.625 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.239e-05/0.6239, allocations: 4 kB / 1.407 GB, free: 5.621 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6239, allocations: 0 / 1.407 GB, free: 5.621 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002258/0.6242, allocations: 49.72 kB / 1.407 GB, free: 5.566 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.6242, allocations: 8 kB / 1.407 GB, free: 5.559 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/0.6243, allocations: 3.938 kB / 1.407 GB, free: 5.555 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.6243, allocations: 4.062 kB / 1.407 GB, free: 5.551 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/0.6243, allocations: 0 / 1.407 GB, free: 5.551 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.6243, allocations: 11.92 kB / 1.407 GB, free: 5.539 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.133e-05/0.6244, allocations: 3.906 kB / 1.407 GB, free: 5.535 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.6244, allocations: 0 / 1.407 GB, free: 5.535 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.0001782/0.6246, allocations: 193.1 kB / 1.407 GB, free: 5.336 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-05/0.6247, allocations: 101 kB / 1.407 GB, free: 5.23 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.176e-05/0.6248, allocations: 116.8 kB / 1.407 GB, free: 5.109 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001061/0.6249, allocations: 180.3 kB / 1.407 GB, free: 4.926 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001115/0.625, allocations: 176.3 kB / 1.407 GB, free: 4.746 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.605e-05/0.6251, allocations: 184.2 kB / 1.408 GB, free: 4.559 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.6255, allocations: 417.2 kB / 1.408 GB, free: 4.094 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.341e-05/0.6256, allocations: 105 kB / 1.408 GB, free: 3.984 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.33e-05/0.6257, allocations: 113 kB / 1.408 GB, free: 3.867 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.6258, allocations: 176.3 kB / 1.408 GB, free: 3.688 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/0.6259, allocations: 184.2 kB / 1.409 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001133/0.626, allocations: 184.2 kB / 1.409 GB, free: 3.312 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001107/0.6262, allocations: 184.2 kB / 1.409 GB, free: 3.125 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.6264, allocations: 311.7 kB / 1.409 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.6266, allocations: 189.9 kB / 1.409 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.6267, allocations: 180.3 kB / 1.41 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.6269, allocations: 104.9 kB / 1.41 GB, free: 2.293 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.6271, allocations: 177.1 kB / 1.41 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/0.6271, allocations: 105 kB / 1.41 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001164/0.6273, allocations: 104.8 kB / 1.41 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.046e-06/0.6273, allocations: 3.938 kB / 1.41 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001952/0.6292, allocations: 319.5 kB / 1.41 GB, free: 1.586 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.002813/0.6321, allocations: 0.5441 MB / 1.411 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.6323, allocations: 38.05 kB / 1.411 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6323, allocations: 0 / 1.411 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 4.568e-06/0.6323, allocations: 4.062 kB / 1.411 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006432/0.6329, allocations: 0.5263 MB / 1.411 GB, free: 464 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005868/0.6335, allocations: 259.6 kB / 1.412 GB, free: 176 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.6341, allocations: 0.6887 MB / 1.412 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.07e-05/0.6342, allocations: 0 / 1.412 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.6342, allocations: 7.438 kB / 1.412 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of SimCode: time 8.72e-07/0.6342, allocations: 0 / 1.412 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of Templates: time 0.01561/0.6498, allocations: 5.102 MB / 1.417 GB, free: 10.39 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","../files/Buildings_9_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