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.218/2.218, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001026/0.001026, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.508/1.508, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0011/0.0011, allocations: 97.77 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.674e-05/3.676e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2818, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.992/1.274, allocations: 169.4 MB / 1.378 GB, free: 17.61 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004204/1.274, allocations: 123.9 kB / 1.378 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04033/1.315, allocations: 15.06 MB / 1.393 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.522e-06/1.315, allocations: 0 / 1.393 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.192e-06/1.315, allocations: 0 / 1.393 GB, free: 27.77 MB / 0.8386 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.0007673/1.315, allocations: 0.5455 MB / 1.393 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.316, allocations: 11.38 kB / 1.393 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/1.316, allocations: 86.92 kB / 1.393 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/1.316, allocations: 249.9 kB / 1.394 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.747e-05/1.316, allocations: 158.5 kB / 1.394 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/1.316, allocations: 150.6 kB / 1.394 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.92e-05/1.316, allocations: 104.9 kB / 1.394 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/1.316, allocations: 75.28 kB / 1.394 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/1.316, allocations: 150.6 kB / 1.394 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/1.316, allocations: 158.3 kB / 1.394 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.763e-05/1.316, allocations: 150.6 kB / 1.395 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002458/1.316, allocations: 465.2 kB / 1.395 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.186e-05/1.316, allocations: 172.5 kB / 1.395 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/1.316, allocations: 84.14 kB / 1.395 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/1.316, allocations: 75.28 kB / 1.395 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/1.316, allocations: 109.5 kB / 1.395 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/1.316, allocations: 0 / 1.395 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.439e-05/1.317, allocations: 29.61 kB / 1.395 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/1.317, allocations: 130.6 kB / 1.396 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/1.317, allocations: 129.4 kB / 1.396 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/1.317, allocations: 25.7 kB / 1.396 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/1.317, allocations: 91.97 kB / 1.396 GB, free: 24.62 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-06/1.317, allocations: 3.75 kB / 1.396 GB, free: 24.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/1.317, allocations: 0 / 1.396 GB, free: 24.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.35e-05/1.317, allocations: 322.4 kB / 1.396 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/1.317, allocations: 0 / 1.396 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.201e-05/1.317, allocations: 7.594 kB / 1.396 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.289e-05/1.317, allocations: 11.89 kB / 1.396 GB, free: 24.29 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.317, allocations: 4.031 kB / 1.396 GB, free: 24.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.799e-05/1.317, allocations: 44.95 kB / 1.396 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/1.317, allocations: 3.812 kB / 1.396 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/1.317, allocations: 11.48 kB / 1.396 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/1.317, allocations: 0 / 1.396 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.204e-06/1.317, allocations: 3.984 kB / 1.396 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/1.317, allocations: 0 / 1.396 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/1.317, allocations: 3.875 kB / 1.396 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/1.317, allocations: 0 / 1.396 GB, free: 24.25 MB / 0.8386 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 8.678e-05/1.317, allocations: 189.6 kB / 1.396 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/1.317, allocations: 112.6 kB / 1.396 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/1.317, allocations: 108.5 kB / 1.397 GB, free: 23.83 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-05/1.317, allocations: 184.3 kB / 1.397 GB, free: 23.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.798e-05/1.318, allocations: 184.1 kB / 1.397 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-05/1.318, allocations: 180.2 kB / 1.397 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/1.318, allocations: 423.3 kB / 1.397 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.754e-05/1.318, allocations: 101 kB / 1.398 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/1.318, allocations: 108.9 kB / 1.398 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.236e-05/1.318, allocations: 180.1 kB / 1.398 GB, free: 22.42 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/1.318, allocations: 180.2 kB / 1.398 GB, free: 22.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.398e-05/1.318, allocations: 176.3 kB / 1.398 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-05/1.318, allocations: 184.1 kB / 1.398 GB, free: 21.87 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/1.318, allocations: 314.7 kB / 1.399 GB, free: 21.55 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/1.318, allocations: 182 kB / 1.399 GB, free: 21.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/1.318, allocations: 183 kB / 1.399 GB, free: 21.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/1.318, allocations: 109.9 kB / 1.399 GB, free: 21.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/1.319, allocations: 180.2 kB / 1.399 GB, free: 20.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/1.319, allocations: 101 kB / 1.399 GB, free: 20.76 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.474e-05/1.319, allocations: 98.81 kB / 1.399 GB, free: 20.69 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.319, allocations: 0 / 1.399 GB, free: 20.69 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008951/1.32, allocations: 321.8 kB / 1.4 GB, free: 20.58 MB / 0.8386 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.000946/1.321, allocations: 0.5491 MB / 1.4 GB, free: 20.26 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.897e-05/1.321, allocations: 45.59 kB / 1.4 GB, free: 20.22 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.321, allocations: 0 / 1.4 GB, free: 20.22 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/1.321, allocations: 3.938 kB / 1.4 GB, free: 20.22 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/1.321, allocations: 0.526 MB / 1.401 GB, free: 19.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001816/1.321, allocations: 144.7 kB / 1.401 GB, free: 19.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/1.321, allocations: 0.6885 MB / 1.402 GB, free: 18.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.298e-05/1.321, allocations: 0 / 1.402 GB, free: 18.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.938e-06/1.321, allocations: 7.438 kB / 1.402 GB, free: 18.83 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.321, allocations: 0 / 1.402 GB, free: 18.83 MB / 0.8386 GB Notification: Performance of Templates: time 0.007435/1.329, allocations: 5.166 MB / 1.407 GB, free: 15.36 MB / 0.8386 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