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.336/1.336, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 177.3 kB / 326.5 MB, free: 2.223 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.563/1.563, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0008138/0.0008139, allocations: 102.6 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.000357, allocations: 8.812 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2025, allocations: 106.3 MB / 0.9001 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.3748, allocations: 142.5 MB / 1.039 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.3751, allocations: 111.9 kB / 1.039 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4786/0.8538, allocations: 22.17 MB / 1.061 GB, free: 147.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.696e-06/0.8538, allocations: 0 / 1.061 GB, free: 147.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.833e-05/0.8539, allocations: 13.91 kB / 1.061 GB, free: 147.5 MB / 0.698 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.001714/0.8556, allocations: 0.8449 MB / 1.062 GB, free: 146.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.8556, allocations: 10.94 kB / 1.062 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/0.8559, allocations: 72.84 kB / 1.062 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007221/0.8566, allocations: 436.1 kB / 1.062 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.8566, allocations: 39.75 kB / 1.062 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.71e-05/0.8567, allocations: 47.72 kB / 1.062 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008374/0.8576, allocations: 430.4 kB / 1.063 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.8576, allocations: 0 / 1.063 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.875e-05/0.8577, allocations: 16.47 kB / 1.063 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.8577, allocations: 15.88 kB / 1.063 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007164/0.8584, allocations: 377.8 kB / 1.063 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/0.8608, allocations: 1.545 MB / 1.065 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.8614, allocations: 341.5 kB / 1.065 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.8615, allocations: 5.688 kB / 1.065 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.8615, allocations: 34.03 kB / 1.065 GB, free: 146.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=42): time 3.437e-06/0.8615, allocations: 0 / 1.065 GB, free: 146.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.001076/0.8626, allocations: 0.5023 MB / 1.066 GB, free: 146 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.8627, allocations: 56.25 kB / 1.066 GB, free: 145.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007024/0.8634, allocations: 434.7 kB / 1.066 GB, free: 145.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.8634, allocations: 31.36 kB / 1.066 GB, free: 145.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.8636, allocations: 271.2 kB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.8637, allocations: 146.6 kB / 1.066 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.8638, allocations: 5.375 kB / 1.067 GB, free: 145.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.8639, allocations: 368 kB / 1.067 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.8642, allocations: 123.2 kB / 1.067 GB, free: 145.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.8645, allocations: 132 kB / 1.067 GB, free: 145.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.8648, allocations: 145.8 kB / 1.067 GB, free: 145.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.8648, allocations: 0 / 1.067 GB, free: 145.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008042/0.8656, allocations: 399.1 kB / 1.068 GB, free: 145.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.8657, allocations: 9.469 kB / 1.068 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.8657, allocations: 1.609 kB / 1.068 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.8657, allocations: 5.344 kB / 1.068 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005746/0.8663, allocations: 127.2 kB / 1.068 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.8663, allocations: 2.25 kB / 1.068 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.8666, allocations: 57.25 kB / 1.068 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.8666, allocations: 15.16 kB / 1.068 GB, free: 145.2 MB / 0.698 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.000237/0.8669, allocations: 200 kB / 1.068 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.835e-05/0.867, allocations: 52.47 kB / 1.068 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.8671, allocations: 58.38 kB / 1.068 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.8671, allocations: 5.516 kB / 1.068 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.8671, allocations: 1.094 kB / 1.068 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.8671, allocations: 5.828 kB / 1.068 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007793/0.8679, allocations: 0.5712 MB / 1.069 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.8679, allocations: 1.938 kB / 1.069 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005837/0.8685, allocations: 127 kB / 1.069 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.8685, allocations: 2.938 kB / 1.069 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.8686, allocations: 11 kB / 1.069 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.8686, allocations: 1.406 kB / 1.069 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.8686, allocations: 1.391 kB / 1.069 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.8697, allocations: 0.6642 MB / 1.069 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.8698, allocations: 134.6 kB / 1.07 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/0.8699, allocations: 10.58 kB / 1.07 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.8701, allocations: 20.59 kB / 1.07 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/0.8702, allocations: 27.94 kB / 1.07 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.8702, allocations: 11.7 kB / 1.07 GB, free: 144.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004484/0.8707, allocations: 346.4 kB / 1.07 GB, free: 144.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8707, allocations: 4 kB / 1.07 GB, free: 144.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005232/0.8712, allocations: 164.5 kB / 1.07 GB, free: 144.4 MB / 0.698 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.0004257/0.8717, allocations: 268.7 kB / 1.07 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000666/0.8723, allocations: 326.2 kB / 1.071 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8723, allocations: 0 / 1.071 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.8727, allocations: 184.6 kB / 1.071 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.8733, allocations: 124.3 kB / 1.071 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.8754, allocations: 1.438 MB / 1.072 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.8759, allocations: 0.8817 MB / 1.073 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002349/0.8761, allocations: 49.36 kB / 1.073 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.8762, allocations: 34.53 kB / 1.073 GB, free: 142.8 MB / 0.698 GB Notification: Performance of SimCode: time 3.3e-07/0.8762, allocations: 4.812 kB / 1.073 GB, free: 142.8 MB / 0.698 GB Notification: Performance of Templates: time 0.01324/0.8895, allocations: 7.055 MB / 1.08 GB, free: 142.3 MB / 0.698 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