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.Examples.InternalResistancesTwoUTube.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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.519/1.519, allocations: 249.5 MB / 257 MB, free: 6.988 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.0009784/0.0009784, allocations: 180.9 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0009643/0.0009643, allocations: 82.53 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.001e-05/2.003e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2205, allocations: 106.3 MB / 0.8853 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.772/0.9926, allocations: 142.7 MB / 1.025 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.9929, allocations: 112.6 kB / 1.025 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05593/1.049, allocations: 21.94 MB / 1.046 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.555e-06/1.049, allocations: 0 / 1.046 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.779e-05/1.049, allocations: 12 kB / 1.046 GB, free: 9.109 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001097/1.05, allocations: 0.7514 MB / 1.047 GB, free: 8.348 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.05, allocations: 8.031 kB / 1.047 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/1.05, allocations: 71.16 kB / 1.047 GB, free: 8.27 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005734/1.051, allocations: 430.8 kB / 1.047 GB, free: 7.883 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/1.051, allocations: 16 kB / 1.047 GB, free: 7.867 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.824e-05/1.051, allocations: 32 kB / 1.047 GB, free: 7.836 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000517/1.051, allocations: 311.7 kB / 1.048 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00055/1.052, allocations: 329.3 kB / 1.048 GB, free: 7.418 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/1.052, allocations: 4 kB / 1.048 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/1.052, allocations: 3.938 kB / 1.048 GB, free: 7.41 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/1.052, allocations: 12 kB / 1.048 GB, free: 7.398 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/1.054, allocations: 1.443 MB / 1.049 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/1.054, allocations: 295 kB / 1.05 GB, free: 6.074 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/1.055, allocations: 275.6 kB / 1.05 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/1.055, allocations: 11.98 kB / 1.05 GB, free: 5.895 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/1.055, allocations: 34.38 kB / 1.05 GB, free: 5.855 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 1.593e-06/1.055, allocations: 3.938 kB / 1.05 GB, free: 5.852 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.0004936/1.055, allocations: 301.6 kB / 1.05 GB, free: 5.629 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/1.055, allocations: 67.06 kB / 1.05 GB, free: 5.551 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/1.056, allocations: 377.4 kB / 1.051 GB, free: 5.262 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/1.056, allocations: 25.7 kB / 1.051 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/1.056, allocations: 275.5 kB / 1.051 GB, free: 5.035 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/1.056, allocations: 144.5 kB / 1.051 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/1.056, allocations: 0 / 1.051 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.056, allocations: 362.5 kB / 1.052 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/1.056, allocations: 95.06 kB / 1.052 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/1.056, allocations: 98.94 kB / 1.052 GB, free: 4.461 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/1.057, allocations: 126.5 kB / 1.052 GB, free: 4.391 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.057, allocations: 0 / 1.052 GB, free: 4.391 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004133/1.057, allocations: 319.7 kB / 1.052 GB, free: 4.156 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.057, allocations: 4 kB / 1.052 GB, free: 4.152 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.057, allocations: 4 kB / 1.052 GB, free: 4.148 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/1.057, allocations: 4 kB / 1.052 GB, free: 4.145 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/1.058, allocations: 123.4 kB / 1.052 GB, free: 4.027 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/1.058, allocations: 7.984 kB / 1.052 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/1.058, allocations: 39.67 kB / 1.052 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/1.058, allocations: 15.62 kB / 1.052 GB, free: 3.969 MB / 0.6667 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 9.537e-05/1.058, allocations: 111.6 kB / 1.052 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/1.058, allocations: 47.44 kB / 1.052 GB, free: 3.809 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/1.058, allocations: 53.52 kB / 1.053 GB, free: 3.781 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/1.058, allocations: 4 kB / 1.053 GB, free: 3.777 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.058, allocations: 0 / 1.053 GB, free: 3.777 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.058, allocations: 0 / 1.053 GB, free: 3.777 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005582/1.059, allocations: 0.5124 MB / 1.053 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/1.059, allocations: 0 / 1.053 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/1.059, allocations: 123.2 kB / 1.053 GB, free: 3.238 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/1.059, allocations: 7.984 kB / 1.053 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/1.059, allocations: 0 / 1.053 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.059, allocations: 0 / 1.053 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.059, allocations: 0 / 1.053 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006578/1.06, allocations: 0.5763 MB / 1.054 GB, free: 2.801 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/1.06, allocations: 131.9 kB / 1.054 GB, free: 2.656 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.446e-05/1.06, allocations: 0 / 1.054 GB, free: 2.656 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/1.06, allocations: 22.92 kB / 1.054 GB, free: 2.637 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/1.061, allocations: 23.95 kB / 1.054 GB, free: 2.613 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/1.061, allocations: 11.81 kB / 1.054 GB, free: 2.605 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003104/1.061, allocations: 293.2 kB / 1.054 GB, free: 2.391 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/1.061, allocations: 0 / 1.054 GB, free: 2.391 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004314/1.061, allocations: 146 kB / 1.054 GB, free: 2.25 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.0004478/1.062, allocations: 261.2 kB / 1.055 GB, free: 2.004 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004632/1.062, allocations: 280 kB / 1.055 GB, free: 1.824 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.062, allocations: 0 / 1.055 GB, free: 1.824 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/1.062, allocations: 156.6 kB / 1.055 GB, free: 1.723 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/1.063, allocations: 87.17 kB / 1.055 GB, free: 1.66 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/1.065, allocations: 0.8911 MB / 1.056 GB, free: 0.8281 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/1.065, allocations: 0.8813 MB / 1.057 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001709/1.065, allocations: 41.03 kB / 1.057 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.689e-05/1.065, allocations: 39.38 kB / 1.057 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of SimCode: time 3.9e-07/1.065, allocations: 0 / 1.057 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of Templates: time 0.0101/1.075, allocations: 4.837 MB / 1.062 GB, free: 11.11 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches