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.304/2.304, allocations: 387.1 MB / 399.7 MB, free: 9.523 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.001658/0.001657, allocations: 184.9 kB / 492.3 MB, free: 0.6211 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.521/1.521, 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.001049/0.001049, allocations: 97.83 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.931e-05/2.941e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2747, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/1.29, allocations: 170.2 MB / 1.379 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/1.29, allocations: 114.1 kB / 1.379 GB, free: 17.33 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04253/1.332, allocations: 15.39 MB / 1.394 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.372e-06/1.332, allocations: 7.875 kB / 1.394 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.545e-06/1.332, allocations: 0 / 1.394 GB, free: 27.39 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.000999/1.334, allocations: 0.5566 MB / 1.394 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.334, allocations: 11.69 kB / 1.394 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/1.334, allocations: 83.08 kB / 1.394 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/1.334, allocations: 247.1 kB / 1.395 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/1.334, allocations: 154.6 kB / 1.395 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.172e-05/1.334, allocations: 150.6 kB / 1.395 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.179e-05/1.334, allocations: 104.8 kB / 1.395 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/1.334, allocations: 75.28 kB / 1.395 GB, free: 26.03 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/1.334, allocations: 150.6 kB / 1.395 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.653e-05/1.334, allocations: 150.6 kB / 1.395 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.417e-05/1.334, allocations: 162 kB / 1.396 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/1.334, allocations: 467.6 kB / 1.396 GB, free: 25.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.003e-05/1.334, allocations: 169.1 kB / 1.396 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/1.335, allocations: 84.11 kB / 1.396 GB, free: 24.83 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/1.335, allocations: 79.28 kB / 1.396 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/1.335, allocations: 109.3 kB / 1.396 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 2.114e-06/1.335, allocations: 0 / 1.396 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.567e-05/1.335, allocations: 37.42 kB / 1.396 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/1.335, allocations: 126.7 kB / 1.397 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/1.335, allocations: 117.1 kB / 1.397 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/1.335, allocations: 25.7 kB / 1.397 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/1.335, allocations: 99.59 kB / 1.397 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/1.335, allocations: 0 / 1.397 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/1.335, allocations: 0 / 1.397 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.335, allocations: 318 kB / 1.397 GB, free: 23.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/1.335, allocations: 3.844 kB / 1.397 GB, free: 23.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/1.335, allocations: 7.531 kB / 1.397 GB, free: 23.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.538e-05/1.335, allocations: 3.844 kB / 1.397 GB, free: 23.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.335, allocations: 0 / 1.397 GB, free: 23.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001166/1.335, allocations: 56.25 kB / 1.397 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.335, allocations: 13.91 kB / 1.397 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/1.335, allocations: 0 / 1.397 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/1.335, allocations: 0 / 1.397 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/1.335, allocations: 3.844 kB / 1.397 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/1.335, allocations: 0 / 1.397 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.629e-05/1.335, allocations: 7.844 kB / 1.397 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/1.335, allocations: 0 / 1.397 GB, free: 23.88 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 7.419e-05/1.335, allocations: 188.9 kB / 1.397 GB, free: 23.69 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/1.336, allocations: 105 kB / 1.397 GB, free: 23.58 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.258e-05/1.336, allocations: 116.5 kB / 1.398 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.285e-05/1.336, allocations: 188.3 kB / 1.398 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.553e-05/1.336, allocations: 184 kB / 1.398 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.367e-05/1.336, allocations: 184.1 kB / 1.398 GB, free: 22.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/1.336, allocations: 408.3 kB / 1.399 GB, free: 22.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.929e-05/1.336, allocations: 120.2 kB / 1.399 GB, free: 22.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/1.336, allocations: 101 kB / 1.399 GB, free: 22.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.276e-05/1.336, allocations: 180.2 kB / 1.399 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/1.336, allocations: 180.2 kB / 1.399 GB, free: 21.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.121e-05/1.336, allocations: 180.1 kB / 1.399 GB, free: 21.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.213e-05/1.336, allocations: 180.2 kB / 1.399 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/1.336, allocations: 315.2 kB / 1.4 GB, free: 21.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/1.336, allocations: 189.9 kB / 1.4 GB, free: 20.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/1.337, allocations: 180.2 kB / 1.4 GB, free: 20.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/1.337, allocations: 105.9 kB / 1.4 GB, free: 20.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-05/1.337, allocations: 184.1 kB / 1.4 GB, free: 20.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/1.337, allocations: 108.9 kB / 1.4 GB, free: 20.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.913e-05/1.337, allocations: 101.2 kB / 1.401 GB, free: 20.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.337, allocations: 0 / 1.401 GB, free: 20.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001076/1.338, allocations: 326.9 kB / 1.401 GB, free: 20.2 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.001699/1.34, allocations: 0.5378 MB / 1.401 GB, free: 19.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001066/1.34, allocations: 45.59 kB / 1.401 GB, free: 19.85 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.34, allocations: 4.062 kB / 1.401 GB, free: 19.85 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-06/1.34, allocations: 0 / 1.401 GB, free: 19.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/1.34, allocations: 0.5255 MB / 1.402 GB, free: 19.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/1.34, allocations: 144.2 kB / 1.402 GB, free: 19.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/1.341, allocations: 0.6923 MB / 1.403 GB, free: 18.47 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.735e-05/1.341, allocations: 3.938 kB / 1.403 GB, free: 18.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.303e-05/1.341, allocations: 7.438 kB / 1.403 GB, free: 18.46 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/1.341, allocations: 7.75 kB / 1.403 GB, free: 18.45 MB / 0.8386 GB Notification: Performance of Templates: time 0.009565/1.35, allocations: 5.297 MB / 1.408 GB, free: 14.16 MB / 0.8386 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