Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 188.8 kB / 487.4 MB, free: 5.016 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009973/0.000997, allocations: 95.03 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.875e-05/1.859e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2904, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/1.381, allocations: 157.1 MB / 1.359 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003932/1.381, allocations: 108.6 kB / 1.36 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07787/1.459, allocations: 17.99 MB / 1.377 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.174e-06/1.459, allocations: 0 / 1.377 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.274e-05/1.459, allocations: 3.812 kB / 1.377 GB, free: 31.93 MB / 0.8386 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.001227/1.461, allocations: 0.5782 MB / 1.378 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/1.461, allocations: 7.719 kB / 1.378 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/1.461, allocations: 46.86 kB / 1.378 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007845/1.462, allocations: 365.2 kB / 1.378 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/1.462, allocations: 3.844 kB / 1.378 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/1.462, allocations: 15.5 kB / 1.378 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004275/1.462, allocations: 121.5 kB / 1.378 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/1.463, allocations: 148.7 kB / 1.378 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/1.463, allocations: 0 / 1.378 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/1.463, allocations: 0 / 1.378 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/1.463, allocations: 15.64 kB / 1.378 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/1.465, allocations: 0.8146 MB / 1.379 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/1.465, allocations: 131 kB / 1.379 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/1.465, allocations: 95.16 kB / 1.379 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/1.465, allocations: 3.844 kB / 1.379 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/1.465, allocations: 38.5 kB / 1.379 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 2.535e-06/1.465, allocations: 0 / 1.379 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0004832/1.466, allocations: 153.9 kB / 1.38 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/1.466, allocations: 59.16 kB / 1.38 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006186/1.466, allocations: 328.3 kB / 1.38 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/1.466, allocations: 25.7 kB / 1.38 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/1.467, allocations: 209.5 kB / 1.38 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.735e-05/1.467, allocations: 65.45 kB / 1.38 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/1.467, allocations: 0 / 1.38 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002256/1.467, allocations: 343.8 kB / 1.381 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/1.467, allocations: 40.78 kB / 1.381 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/1.467, allocations: 37.7 kB / 1.381 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/1.467, allocations: 51.16 kB / 1.381 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.467, allocations: 0 / 1.381 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000381/1.468, allocations: 175.5 kB / 1.381 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/1.468, allocations: 3.812 kB / 1.381 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/1.468, allocations: 0 / 1.381 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/1.468, allocations: 7.969 kB / 1.381 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/1.468, allocations: 50.59 kB / 1.381 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/1.468, allocations: 3.984 kB / 1.381 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/1.469, allocations: 22.81 kB / 1.381 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/1.469, allocations: 3.844 kB / 1.381 GB, free: 29.6 MB / 0.8386 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 0.0001241/1.469, allocations: 116.9 kB / 1.381 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.502e-05/1.469, allocations: 34.88 kB / 1.381 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/1.469, allocations: 36.5 kB / 1.381 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/1.469, allocations: 0 / 1.381 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.469, allocations: 3.906 kB / 1.381 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.469, allocations: 0 / 1.381 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/1.47, allocations: 325.5 kB / 1.381 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.47, allocations: 3.984 kB / 1.381 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/1.47, allocations: 65.44 kB / 1.381 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/1.47, allocations: 7.891 kB / 1.381 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/1.47, allocations: 3.984 kB / 1.382 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/1.47, allocations: 3.984 kB / 1.382 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.47, allocations: 0 / 1.382 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005601/1.471, allocations: 323.5 kB / 1.382 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/1.471, allocations: 122.3 kB / 1.382 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.039e-05/1.471, allocations: 0 / 1.382 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/1.471, allocations: 15.89 kB / 1.382 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/1.471, allocations: 7.891 kB / 1.382 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/1.471, allocations: 3.844 kB / 1.382 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004501/1.472, allocations: 262.3 kB / 1.382 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.5e-07/1.472, allocations: 0 / 1.382 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005711/1.473, allocations: 76.84 kB / 1.382 GB, free: 28.79 MB / 0.8386 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.0004878/1.473, allocations: 269.1 kB / 1.383 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003194/1.473, allocations: 102.1 kB / 1.383 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.473, allocations: 0 / 1.383 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/1.474, allocations: 62.34 kB / 1.383 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000708/1.474, allocations: 76.64 kB / 1.383 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/1.476, allocations: 0.5239 MB / 1.383 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/1.476, allocations: 0.8143 MB / 1.384 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002024/1.477, allocations: 30.47 kB / 1.384 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/1.477, allocations: 19.09 kB / 1.384 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of SimCode: time 8.42e-07/1.477, allocations: 0 / 1.384 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of Templates: time 0.01225/1.489, allocations: 3.566 MB / 1.388 GB, free: 25.81 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches