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.486/1.486, allocations: 249.3 MB / 261.8 MB, free: 5.824 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.001025/0.001025, allocations: 170.6 kB / 321.3 MB, free: 14.65 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.438/1.438, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0008311/0.0008312, allocations: 90.45 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.295e-05, allocations: 4 kB / 0.788 GB, free: 97.06 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2392, allocations: 106.3 MB / 0.8918 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7475/0.9867, allocations: 142.4 MB / 1.031 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.987, allocations: 117.8 kB / 1.031 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05878/1.046, allocations: 22.22 MB / 1.053 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.356e-06/1.046, allocations: 0 / 1.053 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.904e-05/1.046, allocations: 15.94 kB / 1.053 GB, free: 5.531 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.001103/1.047, allocations: 0.7503 MB / 1.053 GB, free: 4.773 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.047, allocations: 8.031 kB / 1.053 GB, free: 4.766 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/1.047, allocations: 71.16 kB / 1.053 GB, free: 4.695 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006095/1.048, allocations: 432.9 kB / 1.054 GB, free: 4.305 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/1.048, allocations: 39 kB / 1.054 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.867e-05/1.048, allocations: 49.69 kB / 1.054 GB, free: 4.25 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006627/1.049, allocations: 401.3 kB / 1.054 GB, free: 3.988 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/1.049, allocations: 3.938 kB / 1.054 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/1.049, allocations: 19.38 kB / 1.054 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/1.049, allocations: 12 kB / 1.054 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005604/1.049, allocations: 331.6 kB / 1.055 GB, free: 3.762 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/1.051, allocations: 1.542 MB / 1.056 GB, free: 2.547 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005048/1.052, allocations: 315.6 kB / 1.057 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/1.052, allocations: 338.2 kB / 1.057 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/1.053, allocations: 15.88 kB / 1.057 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/1.053, allocations: 34.12 kB / 1.057 GB, free: 2.062 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 2.114e-06/1.053, allocations: 0 / 1.057 GB, free: 2.062 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.0006385/1.053, allocations: 346.7 kB / 1.057 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/1.053, allocations: 55.41 kB / 1.057 GB, free: 1.738 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005888/1.054, allocations: 427.4 kB / 1.058 GB, free: 1.406 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/1.054, allocations: 36.33 kB / 1.058 GB, free: 1.371 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/1.054, allocations: 271.4 kB / 1.058 GB, free: 1.184 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/1.054, allocations: 153.7 kB / 1.058 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/1.054, allocations: 7.562 kB / 1.058 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002173/1.055, allocations: 358.3 kB / 1.058 GB, free: 0.7109 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/1.055, allocations: 105.2 kB / 1.059 GB, free: 0.6484 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/1.055, allocations: 110.1 kB / 1.059 GB, free: 0.5859 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/1.055, allocations: 133.3 kB / 1.059 GB, free: 0.5039 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.055, allocations: 0 / 1.059 GB, free: 0.5039 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005402/1.056, allocations: 363.3 kB / 1.059 GB, free: 248 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/1.056, allocations: 5.719 kB / 1.059 GB, free: 244 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.056, allocations: 8 kB / 1.059 GB, free: 236 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/1.056, allocations: 4 kB / 1.059 GB, free: 232 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/1.056, allocations: 123.8 kB / 1.059 GB, free: 112 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/1.056, allocations: 7.953 kB / 1.059 GB, free: 104 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/1.057, allocations: 54.53 kB / 1.059 GB, free: 56 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/1.057, allocations: 7.438 kB / 1.059 GB, free: 52 kB / 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 0.00013/1.057, allocations: 118.5 kB / 1.059 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/1.057, allocations: 51.34 kB / 1.06 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/1.057, allocations: 66.56 kB / 1.06 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/1.057, allocations: 7.938 kB / 1.06 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.057, allocations: 0 / 1.06 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/1.057, allocations: 3.953 kB / 1.06 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000691/1.058, allocations: 0.5708 MB / 1.06 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.058, allocations: 0 / 1.06 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005068/1.058, allocations: 131 kB / 1.06 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.058, allocations: 0 / 1.06 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/1.058, allocations: 7.625 kB / 1.06 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/1.058, allocations: 3.984 kB / 1.06 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.058, allocations: 3.984 kB / 1.06 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007573/1.059, allocations: 0.612 MB / 1.061 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/1.059, allocations: 139.6 kB / 1.061 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/1.059, allocations: 7.188 kB / 1.061 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/1.06, allocations: 23.23 kB / 1.061 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/1.06, allocations: 27.84 kB / 1.061 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/1.06, allocations: 8 kB / 1.061 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004097/1.06, allocations: 351.1 kB / 1.061 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/1.06, allocations: 0 / 1.061 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004579/1.061, allocations: 153.7 kB / 1.062 GB, free: 14.18 MB / 0.6823 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.000399/1.061, allocations: 271.8 kB / 1.062 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004303/1.061, allocations: 287.3 kB / 1.062 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.061, allocations: 0 / 1.062 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/1.062, allocations: 163.7 kB / 1.062 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/1.062, allocations: 118.2 kB / 1.062 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/1.064, allocations: 0.9199 MB / 1.063 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/1.064, allocations: 0.8849 MB / 1.064 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002018/1.064, allocations: 56.34 kB / 1.064 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.801e-05/1.065, allocations: 35.44 kB / 1.064 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/1.065, allocations: 0 / 1.064 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of Templates: time 0.01319/1.078, allocations: 7.34 MB / 1.071 GB, free: 4.496 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