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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 249.3 MB / 261.8 MB, free: 5.965 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.001038/0.001037, allocations: 172.9 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.48/1.48, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0009197/0.0009198, allocations: 90.45 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.344e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2276, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7476/0.9753, allocations: 140.3 MB / 1.029 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.9756, allocations: 114.2 kB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04782/1.023, allocations: 17.99 MB / 1.046 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.853e-06/1.024, allocations: 0 / 1.046 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.657e-05/1.024, allocations: 4 kB / 1.046 GB, free: 11.22 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009558/1.025, allocations: 0.5763 MB / 1.047 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/1.025, allocations: 8.031 kB / 1.047 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/1.025, allocations: 51.73 kB / 1.047 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005794/1.025, allocations: 350.2 kB / 1.047 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/1.025, allocations: 15 kB / 1.047 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/1.025, allocations: 22.75 kB / 1.047 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/1.026, allocations: 181.3 kB / 1.048 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/1.026, allocations: 7.891 kB / 1.048 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/1.026, allocations: 7.062 kB / 1.048 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/1.026, allocations: 8 kB / 1.048 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/1.026, allocations: 143 kB / 1.048 GB, free: 9.973 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/1.027, allocations: 0.8648 MB / 1.049 GB, free: 9.211 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/1.028, allocations: 139 kB / 1.049 GB, free: 9.113 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/1.028, allocations: 103.8 kB / 1.049 GB, free: 9.043 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/1.028, allocations: 15.84 kB / 1.049 GB, free: 9.027 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/1.028, allocations: 34.12 kB / 1.049 GB, free: 8.988 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 2.104e-06/1.028, allocations: 0 / 1.049 GB, free: 8.988 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.0003327/1.028, allocations: 164.7 kB / 1.049 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/1.028, allocations: 55.39 kB / 1.049 GB, free: 8.789 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004425/1.029, allocations: 369.6 kB / 1.049 GB, free: 8.496 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/1.029, allocations: 29.08 kB / 1.05 GB, free: 8.465 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/1.029, allocations: 200.8 kB / 1.05 GB, free: 8.328 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.979e-05/1.029, allocations: 74.67 kB / 1.05 GB, free: 8.262 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/1.029, allocations: 7.438 kB / 1.05 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.029, allocations: 345 kB / 1.05 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/1.029, allocations: 48.5 kB / 1.05 GB, free: 7.898 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-05/1.029, allocations: 45.64 kB / 1.05 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.791e-05/1.029, allocations: 52.27 kB / 1.05 GB, free: 7.84 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/1.029, allocations: 0 / 1.05 GB, free: 7.84 MB / 0.6667 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002891/1.03, allocations: 177.3 kB / 1.05 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.03, allocations: 8 kB / 1.05 GB, free: 7.691 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.03, allocations: 4 kB / 1.05 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/1.03, allocations: 3.984 kB / 1.05 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/1.03, allocations: 55.91 kB / 1.05 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/1.03, allocations: 0 / 1.05 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/1.03, allocations: 27.08 kB / 1.051 GB, free: 7.605 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/1.03, allocations: 7.5 kB / 1.051 GB, free: 7.602 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 (20): * Single equations (assignments): 20 * 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 7.898e-05/1.03, allocations: 116.6 kB / 1.051 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/1.03, allocations: 35.53 kB / 1.051 GB, free: 7.449 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.958e-05/1.03, allocations: 41.06 kB / 1.051 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/1.03, allocations: 0 / 1.051 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.03, allocations: 0 / 1.051 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.03, allocations: 3.984 kB / 1.051 GB, free: 7.426 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/1.031, allocations: 379 kB / 1.051 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.031, allocations: 0 / 1.051 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/1.031, allocations: 63.59 kB / 1.051 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/1.031, allocations: 3.984 kB / 1.051 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/1.031, allocations: 3.062 kB / 1.051 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/1.031, allocations: 4 kB / 1.051 GB, free: 7.012 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.031, allocations: 3.938 kB / 1.051 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/1.032, allocations: 339.5 kB / 1.051 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/1.032, allocations: 107.9 kB / 1.052 GB, free: 6.609 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/1.032, allocations: 7 kB / 1.052 GB, free: 6.605 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/1.032, allocations: 23.83 kB / 1.052 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/1.032, allocations: 11.92 kB / 1.052 GB, free: 6.574 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/1.032, allocations: 4 kB / 1.052 GB, free: 6.57 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003221/1.032, allocations: 300.3 kB / 1.052 GB, free: 6.344 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/1.032, allocations: 0 / 1.052 GB, free: 6.344 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003684/1.033, allocations: 86.91 kB / 1.052 GB, free: 6.266 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0004174/1.033, allocations: 262.7 kB / 1.052 GB, free: 6.008 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002672/1.033, allocations: 113.9 kB / 1.052 GB, free: 5.934 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/1.033, allocations: 0 / 1.052 GB, free: 5.934 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/1.034, allocations: 70.11 kB / 1.052 GB, free: 5.887 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/1.034, allocations: 98.95 kB / 1.053 GB, free: 5.816 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000999/1.035, allocations: 0.5326 MB / 1.053 GB, free: 5.324 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/1.035, allocations: 0.7991 MB / 1.054 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001524/1.036, allocations: 42.94 kB / 1.054 GB, free: 4.461 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/1.036, allocations: 23.44 kB / 1.054 GB, free: 4.441 MB / 0.6667 GB Notification: Performance of SimCode: time 5.91e-07/1.036, allocations: 0 / 1.054 GB, free: 4.441 MB / 0.6667 GB Notification: Performance of Templates: time 0.01071/1.046, allocations: 5.527 MB / 1.059 GB, free: 15.01 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches