Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 98.45 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000906/0.000906, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.687/2.687, allocations: 436.5 MB / 0.7104 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003495, allocations: 12 kB / 0.8708 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7611/0.7614, allocations: 153.7 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003562/0.7651, allocations: 3.278 MB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002723/0.7678, allocations: 2.185 MB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002552/0.7681, allocations: 12 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.7693, allocations: 482.1 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.7697, allocations: 255.3 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.7699, allocations: 75.94 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000668/0.7706, allocations: 0.5655 MB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003938/0.771, allocations: 245.4 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.7713, allocations: 235.1 kB / 1.028 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.7716, allocations: 270.8 kB / 1.028 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.07e-05/0.7716, allocations: 32 kB / 1.028 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.67e-05/0.7717, allocations: 36 kB / 1.028 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.7719, allocations: 119.6 kB / 1.028 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.772, allocations: 165.3 kB / 1.029 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006108/0.7726, allocations: 0.7829 MB / 1.029 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.7726, allocations: 3.938 kB / 1.029 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7726, allocations: 4 kB / 1.029 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.7727, allocations: 4 kB / 1.029 GB, free: 8.359 MB / 0.7794 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.001288/0.774, allocations: 0.8449 MB / 1.03 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.774, allocations: 15.98 kB / 1.03 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.7741, allocations: 75.06 kB / 1.03 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/0.7747, allocations: 432.8 kB / 1.031 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/0.7748, allocations: 37 kB / 1.031 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.475e-05/0.7749, allocations: 47.95 kB / 1.031 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007257/0.7756, allocations: 430.5 kB / 1.031 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.7756, allocations: 3.906 kB / 1.031 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.7757, allocations: 16 kB / 1.031 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.7757, allocations: 12 kB / 1.031 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006716/0.7764, allocations: 383.7 kB / 1.032 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.7783, allocations: 1.536 MB / 1.033 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.7789, allocations: 339 kB / 1.033 GB, free: 4.047 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.7789, allocations: 4 kB / 1.033 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.7789, allocations: 38.5 kB / 1.033 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=42): time 1.603e-06/0.779, allocations: 0 / 1.033 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42): time 0.0009073/0.7799, allocations: 0.4983 MB / 1.034 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.7799, allocations: 59.39 kB / 1.034 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005283/0.7804, allocations: 489.9 kB / 1.034 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.7805, allocations: 29.7 kB / 1.034 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.7807, allocations: 280.3 kB / 1.035 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.7808, allocations: 145.8 kB / 1.035 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/0.7808, allocations: 8 kB / 1.035 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.781, allocations: 362.8 kB / 1.035 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.7812, allocations: 124.7 kB / 1.035 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.7814, allocations: 129.2 kB / 1.035 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.7817, allocations: 146.5 kB / 1.036 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7817, allocations: 0 / 1.036 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006152/0.7823, allocations: 407.8 kB / 1.036 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.7824, allocations: 4 kB / 1.036 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.7824, allocations: 0 / 1.036 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.7824, allocations: 7.984 kB / 1.036 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.7829, allocations: 124.6 kB / 1.036 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.7829, allocations: 8 kB / 1.036 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.7832, allocations: 51.53 kB / 1.036 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.7832, allocations: 12 kB / 1.036 GB, free: 1.105 MB / 0.7794 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 () * Number of clocked 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.0002202/0.7834, allocations: 198.1 kB / 1.036 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.7835, allocations: 51.44 kB / 1.036 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.7836, allocations: 61.09 kB / 1.036 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.7836, allocations: 7.938 kB / 1.037 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.7837, allocations: 0 / 1.037 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7837, allocations: 3.938 kB / 1.037 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006068/0.7843, allocations: 0.5789 MB / 1.037 GB, free: 156 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.7843, allocations: 3.984 kB / 1.037 GB, free: 152 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/0.7848, allocations: 127.9 kB / 1.037 GB, free: 24 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.7848, allocations: 4 kB / 1.037 GB, free: 20 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.7848, allocations: 8 kB / 1.037 GB, free: 12 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.7848, allocations: 0 / 1.037 GB, free: 12 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/0.7848, allocations: 7.984 kB / 1.037 GB, free: 4 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009466/0.7858, allocations: 0.6695 MB / 1.038 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.7859, allocations: 128.5 kB / 1.038 GB, free: 15.17 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/0.786, allocations: 8 kB / 1.038 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.7862, allocations: 35.81 kB / 1.038 GB, free: 15.13 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.7863, allocations: 23.97 kB / 1.038 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.7863, allocations: 8 kB / 1.038 GB, free: 15.1 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003782/0.7867, allocations: 351.1 kB / 1.038 GB, free: 14.75 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.984e-06/0.7867, allocations: 0 / 1.038 GB, free: 14.75 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000378/0.7871, allocations: 147.6 kB / 1.039 GB, free: 14.61 MB / 0.795 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 () * Number of clocked 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.0001478/0.7873, allocations: 111.2 kB / 1.039 GB, free: 14.49 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005736/0.7878, allocations: 331.9 kB / 1.039 GB, free: 14.17 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7878, allocations: 0 / 1.039 GB, free: 14.17 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.7881, allocations: 187.6 kB / 1.039 GB, free: 13.98 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005839/0.7887, allocations: 120 kB / 1.039 GB, free: 13.87 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.7906, allocations: 1.441 MB / 1.041 GB, free: 12.4 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.791, allocations: 0.8823 MB / 1.042 GB, free: 11.49 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001704/0.7912, allocations: 52.39 kB / 1.042 GB, free: 11.44 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.375e-05/0.7913, allocations: 35.44 kB / 1.042 GB, free: 11.41 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.7913, allocations: 4 kB / 1.042 GB, free: 11.4 MB / 0.795 GB Notification: Performance of Templates: time 0.009596/0.8009, allocations: 5.35 MB / 1.047 GB, free: 6.184 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches