Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.466/1.466, allocations: 249.3 MB / 261.8 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 178.5 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008932/0.000893, allocations: 94.41 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.74e-05/2.744e-05, allocations: 4 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.171, allocations: 106.3 MB / 0.8918 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.679/0.85, allocations: 152.2 MB / 1.04 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.8503, allocations: 118.9 kB / 1.041 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04469/0.895, allocations: 14.95 MB / 1.055 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8951, allocations: 0 / 1.055 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.8951, allocations: 0 / 1.055 GB, free: 1.59 MB / 0.6667 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.001059/0.8961, allocations: 0.555 MB / 1.056 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.8962, allocations: 8.031 kB / 1.056 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.717e-05/0.8963, allocations: 87.45 kB / 1.056 GB, free: 0.9023 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.8965, allocations: 245.5 kB / 1.056 GB, free: 0.625 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.84e-05/0.8965, allocations: 154.5 kB / 1.056 GB, free: 484 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.8966, allocations: 154.6 kB / 1.056 GB, free: 328 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.942e-05/0.8967, allocations: 105 kB / 1.056 GB, free: 216 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.8967, allocations: 75.28 kB / 1.056 GB, free: 140 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.88e-05/0.8968, allocations: 154.5 kB / 1.057 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.359e-05/0.8969, allocations: 150.6 kB / 1.057 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.816e-05/0.897, allocations: 154.5 kB / 1.057 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.8973, allocations: 475.6 kB / 1.057 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.559e-05/0.8974, allocations: 165.1 kB / 1.058 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.8974, allocations: 80.14 kB / 1.058 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.8975, allocations: 79.28 kB / 1.058 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/0.8975, allocations: 121.1 kB / 1.058 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.8975, allocations: 0 / 1.058 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.9e-05/0.8976, allocations: 29.7 kB / 1.058 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.8977, allocations: 126.7 kB / 1.058 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.8978, allocations: 117.9 kB / 1.058 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.8978, allocations: 25.7 kB / 1.058 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.8979, allocations: 96.56 kB / 1.058 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.8979, allocations: 0 / 1.058 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.8979, allocations: 0 / 1.058 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.8981, allocations: 330 kB / 1.058 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.8981, allocations: 0 / 1.058 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.441e-05/0.8981, allocations: 7.938 kB / 1.058 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.519e-05/0.8981, allocations: 7.375 kB / 1.059 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8981, allocations: 0 / 1.059 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001163/0.8983, allocations: 53.53 kB / 1.059 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.8983, allocations: 4 kB / 1.059 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.8983, allocations: 4 kB / 1.059 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.8983, allocations: 0 / 1.059 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.8983, allocations: 4.062 kB / 1.059 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.8984, allocations: 0 / 1.059 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.8984, allocations: 4 kB / 1.059 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.8984, allocations: 4 kB / 1.059 GB, free: 13.89 MB / 0.6823 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.492e-05/0.8985, allocations: 183.5 kB / 1.059 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/0.8986, allocations: 112.8 kB / 1.059 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.638e-05/0.8986, allocations: 112.4 kB / 1.059 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.826e-05/0.8987, allocations: 180.5 kB / 1.059 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.588e-05/0.8988, allocations: 191.5 kB / 1.059 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.597e-05/0.8989, allocations: 176.3 kB / 1.059 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.8991, allocations: 419.8 kB / 1.06 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.969e-05/0.8992, allocations: 105 kB / 1.06 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/0.8992, allocations: 101 kB / 1.06 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-05/0.8993, allocations: 188.1 kB / 1.06 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.948e-05/0.8994, allocations: 176.3 kB / 1.06 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.975e-05/0.8995, allocations: 188.2 kB / 1.061 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.475e-05/0.8996, allocations: 179.5 kB / 1.061 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.8997, allocations: 307.7 kB / 1.061 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/0.8998, allocations: 192.9 kB / 1.061 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.286e-05/0.8999, allocations: 180.2 kB / 1.061 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.9, allocations: 101.9 kB / 1.062 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.9001, allocations: 180.3 kB / 1.062 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.9002, allocations: 104.9 kB / 1.062 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.849e-05/0.9002, allocations: 104.1 kB / 1.062 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9002, allocations: 0 / 1.062 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001116/0.9014, allocations: 322.1 kB / 1.062 GB, free: 9.988 MB / 0.6823 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.001111/0.9025, allocations: 0.56 MB / 1.063 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.902e-05/0.9026, allocations: 40.83 kB / 1.063 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9026, allocations: 0 / 1.063 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.9026, allocations: 4.062 kB / 1.063 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.903, allocations: 0.5255 MB / 1.063 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001962/0.9032, allocations: 159.7 kB / 1.063 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.9034, allocations: 0.6848 MB / 1.064 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.715e-05/0.9035, allocations: 7.984 kB / 1.064 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.097e-05/0.9035, allocations: 7.438 kB / 1.064 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.9035, allocations: 0 / 1.064 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of Templates: time 0.009001/0.9125, allocations: 5.284 MB / 1.069 GB, free: 2.734 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","../files/Buildings_maint.7.0.x_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