Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001563/0.001563, allocations: 197.1 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.582/2.582, allocations: 437 MB / 0.71 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.91 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6436/0.645, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004679/0.6497, allocations: 3.093 MB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002971/0.6527, allocations: 2.108 MB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003222/0.6531, allocations: 4 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.6547, allocations: 494 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004017/0.6551, allocations: 119.2 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.6552, allocations: 55.91 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005631/0.6558, allocations: 441.9 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.6561, allocations: 159.2 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.6563, allocations: 155.4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.6566, allocations: 187.1 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.559e-05/0.6567, allocations: 36 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.748e-05/0.6567, allocations: 32 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.6569, allocations: 99.61 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.6571, allocations: 222.9 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004943/0.6576, allocations: 0.5411 MB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6576, allocations: 0 / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.404e-06/0.6576, allocations: 0 / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.6576, allocations: 4 kB / 1.024 GB, free: 11 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001127/0.6588, allocations: 0.6928 MB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.6588, allocations: 8.031 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.606e-05/0.6589, allocations: 44.47 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.6594, allocations: 378.1 kB / 1.025 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.6594, allocations: 16.81 kB / 1.025 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.83e-05/0.6595, allocations: 28.36 kB / 1.025 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.6599, allocations: 195.6 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.6599, allocations: 0 / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.66, allocations: 12 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.66, allocations: 4 kB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.6604, allocations: 161.7 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.6616, allocations: 0.8778 MB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.6619, allocations: 154.6 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.6621, allocations: 113.1 kB / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.6622, allocations: 0 / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.6622, allocations: 46.34 kB / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.6622, allocations: 0 / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0006192/0.6628, allocations: 254.5 kB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.6629, allocations: 55.41 kB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004747/0.6634, allocations: 417.7 kB / 1.028 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.6634, allocations: 29.7 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.6635, allocations: 200.2 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/0.6636, allocations: 75 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.6637, allocations: 29.66 kB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6638, allocations: 350.8 kB / 1.028 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.664, allocations: 51.97 kB / 1.028 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.6641, allocations: 65.5 kB / 1.028 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.6644, allocations: 134.5 kB / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6644, allocations: 0 / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004085/0.6648, allocations: 205.1 kB / 1.029 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.6649, allocations: 4 kB / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.6649, allocations: 0 / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.6649, allocations: 7.922 kB / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.6652, allocations: 59.91 kB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.6652, allocations: 0 / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.6654, allocations: 27.83 kB / 1.029 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.6654, allocations: 4 kB / 1.029 GB, free: 6.125 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.6655, allocations: 162.4 kB / 1.029 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.6656, allocations: 31.62 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.509e-05/0.6657, allocations: 43.53 kB / 1.029 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.6657, allocations: 4 kB / 1.029 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6657, allocations: 0 / 1.029 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6657, allocations: 4 kB / 1.029 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.6662, allocations: 377.2 kB / 1.029 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6662, allocations: 0 / 1.029 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.6664, allocations: 59.91 kB / 1.03 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.6664, allocations: 0 / 1.03 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.6665, allocations: 3.938 kB / 1.03 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.6665, allocations: 4 kB / 1.03 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6665, allocations: 0 / 1.03 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000618/0.6671, allocations: 382 kB / 1.03 GB, free: 5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.6672, allocations: 124.5 kB / 1.03 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.062e-05/0.6673, allocations: 7.938 kB / 1.03 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.6674, allocations: 11.98 kB / 1.03 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.6675, allocations: 7.984 kB / 1.03 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.6675, allocations: 8 kB / 1.03 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003432/0.6679, allocations: 307.2 kB / 1.03 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6679, allocations: 0 / 1.03 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003087/0.6682, allocations: 75.83 kB / 1.03 GB, free: 4.449 MB / 0.7794 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/0.6683, allocations: 111.2 kB / 1.031 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003903/0.6687, allocations: 151.9 kB / 1.031 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6687, allocations: 0 / 1.031 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.6689, allocations: 86 kB / 1.031 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006201/0.6695, allocations: 94.48 kB / 1.031 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.6709, allocations: 0.8726 MB / 1.032 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.6713, allocations: 0.799 MB / 1.032 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001346/0.6714, allocations: 34.95 kB / 1.032 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.6715, allocations: 23.44 kB / 1.033 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.6715, allocations: 0 / 1.033 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of Templates: time 0.008852/0.6804, allocations: 3.869 MB / 1.036 GB, free: 14.48 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches