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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.332/2.332, allocations: 390.5 MB / 398 MB, free: 10.99 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.001315/0.001315, allocations: 180.9 kB / 491.2 MB, free: 1.605 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.752/1.752, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008603/0.00086, allocations: 96.28 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.575e-05/1.579e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3075, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.086/1.394, allocations: 160.1 MB / 1.369 GB, free: 17.66 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/1.394, allocations: 109.5 kB / 1.369 GB, free: 17.66 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05455/1.449, allocations: 21.95 MB / 1.39 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.643e-06/1.449, allocations: 0 / 1.39 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.726e-05/1.449, allocations: 11.31 kB / 1.39 GB, free: 28.41 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001657/1.451, allocations: 0.7518 MB / 1.391 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/1.451, allocations: 11.19 kB / 1.391 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002937/1.451, allocations: 73.22 kB / 1.391 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008844/1.452, allocations: 441.9 kB / 1.391 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/1.452, allocations: 19.28 kB / 1.391 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/1.452, allocations: 30.55 kB / 1.391 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006362/1.453, allocations: 301 kB / 1.392 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006022/1.453, allocations: 335.4 kB / 1.392 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/1.453, allocations: 0 / 1.392 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/1.453, allocations: 3.844 kB / 1.392 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/1.453, allocations: 11.38 kB / 1.392 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/1.456, allocations: 1.437 MB / 1.394 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/1.456, allocations: 305.1 kB / 1.394 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/1.456, allocations: 281.3 kB / 1.394 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/1.456, allocations: 3.844 kB / 1.394 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/1.456, allocations: 34.31 kB / 1.394 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=42): time 2.655e-06/1.456, allocations: 0 / 1.394 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42): time 0.0005568/1.457, allocations: 310.8 kB / 1.394 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/1.457, allocations: 63.31 kB / 1.394 GB, free: 26.4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004659/1.458, allocations: 371.8 kB / 1.395 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/1.458, allocations: 33.64 kB / 1.395 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/1.458, allocations: 275.7 kB / 1.395 GB, free: 26.06 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.225e-05/1.458, allocations: 140.6 kB / 1.395 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/1.458, allocations: 0 / 1.395 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.458, allocations: 357.7 kB / 1.396 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/1.458, allocations: 98.75 kB / 1.396 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/1.458, allocations: 99.84 kB / 1.396 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/1.458, allocations: 118.6 kB / 1.396 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/1.458, allocations: 0 / 1.396 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004614/1.459, allocations: 337.1 kB / 1.396 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/1.459, allocations: 3.812 kB / 1.396 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/1.459, allocations: 7.891 kB / 1.396 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/1.459, allocations: 0 / 1.396 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/1.459, allocations: 123 kB / 1.396 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/1.46, allocations: 3.906 kB / 1.396 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/1.46, allocations: 43.09 kB / 1.396 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/1.46, allocations: 11.5 kB / 1.396 GB, free: 25.47 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 (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.0001052/1.46, allocations: 108.8 kB / 1.397 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.653e-05/1.46, allocations: 42.38 kB / 1.397 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/1.46, allocations: 56.36 kB / 1.397 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/1.46, allocations: 3.781 kB / 1.397 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.46, allocations: 4 kB / 1.397 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/1.46, allocations: 3.984 kB / 1.397 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/1.461, allocations: 0.4988 MB / 1.397 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.461, allocations: 0 / 1.397 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000481/1.461, allocations: 130.3 kB / 1.397 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/1.461, allocations: 7.875 kB / 1.397 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/1.461, allocations: 0 / 1.397 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.461, allocations: 3.625 kB / 1.397 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.461, allocations: 4 kB / 1.397 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006506/1.462, allocations: 0.5711 MB / 1.398 GB, free: 24.81 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/1.462, allocations: 133.8 kB / 1.398 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.792e-05/1.462, allocations: 0 / 1.398 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/1.462, allocations: 19.52 kB / 1.398 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.453e-05/1.463, allocations: 26.36 kB / 1.398 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/1.463, allocations: 6.781 kB / 1.398 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002858/1.463, allocations: 297.1 kB / 1.398 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.463, allocations: 0 / 1.398 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004845/1.463, allocations: 142.9 kB / 1.398 GB, free: 24.54 MB / 0.8386 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.0003871/1.464, allocations: 267.7 kB / 1.399 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003686/1.464, allocations: 277.1 kB / 1.399 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.464, allocations: 0 / 1.399 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/1.464, allocations: 157.9 kB / 1.399 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/1.465, allocations: 93.03 kB / 1.399 GB, free: 24.33 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/1.466, allocations: 0.8767 MB / 1.4 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/1.467, allocations: 0.8806 MB / 1.401 GB, free: 23.06 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002147/1.467, allocations: 46.28 kB / 1.401 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.374e-05/1.467, allocations: 34.34 kB / 1.401 GB, free: 23.03 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/1.467, allocations: 4 kB / 1.401 GB, free: 23.02 MB / 0.8386 GB Notification: Performance of Templates: time 0.009867/1.477, allocations: 4.836 MB / 1.406 GB, free: 18.96 MB / 0.8386 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