Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001048/0.001049, allocations: 180.9 kB / 487.4 MB, free: 5.031 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.526/1.526, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 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.0009566/0.0009569, allocations: 111.8 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.13e-05/2.132e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3149, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.368, allocations: 159.3 MB / 1.362 GB, free: 18.32 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/1.369, allocations: 111.5 kB / 1.362 GB, free: 18.32 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0507/1.419, allocations: 21.95 MB / 1.383 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/1.42, allocations: 0 / 1.383 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.903e-05/1.42, allocations: 15.53 kB / 1.383 GB, free: 29.92 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.001034/1.421, allocations: 0.7533 MB / 1.384 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.421, allocations: 11.53 kB / 1.384 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/1.421, allocations: 73.75 kB / 1.384 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005305/1.421, allocations: 431.1 kB / 1.384 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/1.421, allocations: 15.53 kB / 1.384 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.248e-05/1.421, allocations: 34.36 kB / 1.384 GB, free: 29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004951/1.422, allocations: 308.8 kB / 1.385 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005878/1.422, allocations: 333.7 kB / 1.385 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/1.423, allocations: 3.984 kB / 1.385 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/1.423, allocations: 4 kB / 1.385 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/1.423, allocations: 11.66 kB / 1.385 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/1.424, allocations: 1.434 MB / 1.386 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/1.425, allocations: 300.2 kB / 1.387 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/1.425, allocations: 273.2 kB / 1.387 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/1.425, allocations: 3.844 kB / 1.387 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/1.425, allocations: 46.2 kB / 1.387 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=42): time 1.473e-06/1.425, allocations: 0 / 1.387 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42): time 0.000463/1.426, allocations: 312.4 kB / 1.387 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/1.426, allocations: 55.25 kB / 1.387 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003979/1.426, allocations: 379.3 kB / 1.388 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/1.426, allocations: 25.7 kB / 1.388 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/1.426, allocations: 273.9 kB / 1.388 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.356e-05/1.426, allocations: 142 kB / 1.388 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/1.426, allocations: 0 / 1.388 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001899/1.427, allocations: 363.8 kB / 1.388 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/1.427, allocations: 103.7 kB / 1.389 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/1.427, allocations: 97.94 kB / 1.389 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/1.427, allocations: 113 kB / 1.389 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.427, allocations: 3.938 kB / 1.389 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004221/1.428, allocations: 338.7 kB / 1.389 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.428, allocations: 3.875 kB / 1.389 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/1.428, allocations: 0 / 1.389 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/1.428, allocations: 3.906 kB / 1.389 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/1.428, allocations: 128 kB / 1.389 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.428, allocations: 3.844 kB / 1.389 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/1.428, allocations: 39.03 kB / 1.389 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/1.428, allocations: 11.69 kB / 1.389 GB, free: 26.98 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.0001002/1.428, allocations: 112.9 kB / 1.389 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/1.429, allocations: 46.66 kB / 1.389 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/1.429, allocations: 51.77 kB / 1.389 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/1.429, allocations: 3.906 kB / 1.389 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.429, allocations: 0 / 1.389 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/1.429, allocations: 0 / 1.389 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005009/1.429, allocations: 0.5044 MB / 1.39 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.429, allocations: 0 / 1.39 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004757/1.43, allocations: 128.1 kB / 1.39 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/1.43, allocations: 3.969 kB / 1.39 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/1.43, allocations: 0 / 1.39 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.43, allocations: 3.844 kB / 1.39 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/1.43, allocations: 0 / 1.39 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006326/1.43, allocations: 0.5635 MB / 1.391 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.384e-05/1.43, allocations: 135.1 kB / 1.391 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/1.431, allocations: 0 / 1.391 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/1.431, allocations: 23.8 kB / 1.391 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/1.431, allocations: 27.03 kB / 1.391 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/1.431, allocations: 15.45 kB / 1.391 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002948/1.431, allocations: 287.6 kB / 1.391 GB, free: 26.08 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.431, allocations: 3.906 kB / 1.391 GB, free: 26.08 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004194/1.432, allocations: 148.5 kB / 1.391 GB, free: 26.05 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.0003764/1.432, allocations: 273.3 kB / 1.392 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003906/1.432, allocations: 276 kB / 1.392 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.432, allocations: 0 / 1.392 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001705/1.433, allocations: 155.8 kB / 1.392 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/1.433, allocations: 90.84 kB / 1.392 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/1.434, allocations: 0.8886 MB / 1.393 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/1.435, allocations: 0.8841 MB / 1.394 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001689/1.435, allocations: 46.42 kB / 1.394 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/1.435, allocations: 30.78 kB / 1.394 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/1.435, allocations: 0 / 1.394 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of Templates: time 0.008861/1.444, allocations: 4.84 MB / 1.399 GB, free: 22.21 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches