Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009137/0.0009138, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009074/0.0009076, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.703/2.703, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005696/0.0005697, allocations: 8 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7676/0.7682, allocations: 153.6 MB / 1.021 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003257/0.7715, allocations: 2.432 MB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002655/0.7742, allocations: 1.912 MB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.7744, allocations: 7.938 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.7756, allocations: 442.5 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.7759, allocations: 151.6 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001009/0.776, allocations: 31.97 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004152/0.7764, allocations: 319.3 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.7767, allocations: 114.9 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.7769, allocations: 143.4 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.7771, allocations: 151.3 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.7771, allocations: 20 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.88e-05/0.7772, allocations: 24 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.7773, allocations: 75.73 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.7774, allocations: 105.5 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.7778, allocations: 438.7 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.7778, allocations: 0 / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7778, allocations: 0 / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.7778, allocations: 0 / 1.027 GB, free: 10.77 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.001003/0.7788, allocations: 0.6462 MB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.7789, allocations: 15.98 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.909e-05/0.779, allocations: 43.44 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.7795, allocations: 361.2 kB / 1.028 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.7795, allocations: 20.44 kB / 1.028 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.7796, allocations: 19.95 kB / 1.028 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004477/0.78, allocations: 207.2 kB / 1.028 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.78, allocations: 0 / 1.028 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.7801, allocations: 12 kB / 1.028 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.7801, allocations: 4 kB / 1.028 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003882/0.7805, allocations: 177.6 kB / 1.028 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.7817, allocations: 0.8701 MB / 1.029 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.7821, allocations: 170.5 kB / 1.029 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.7821, allocations: 4 kB / 1.029 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.7821, allocations: 30.56 kB / 1.03 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.7821, allocations: 3.938 kB / 1.03 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0006389/0.7828, allocations: 275.6 kB / 1.03 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.7828, allocations: 59.36 kB / 1.03 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000472/0.7833, allocations: 417.7 kB / 1.03 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.7833, allocations: 25.7 kB / 1.03 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.7835, allocations: 208.2 kB / 1.03 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.7836, allocations: 59.11 kB / 1.031 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-06/0.7836, allocations: 0 / 1.031 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.7838, allocations: 354.8 kB / 1.031 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.7839, allocations: 59.97 kB / 1.031 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.7841, allocations: 55.97 kB / 1.031 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.7842, allocations: 69.7 kB / 1.031 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7842, allocations: 0 / 1.031 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003848/0.7846, allocations: 218.7 kB / 1.031 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.7846, allocations: 11.98 kB / 1.031 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.7847, allocations: 3.953 kB / 1.031 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.7847, allocations: 4 kB / 1.031 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.7849, allocations: 55.91 kB / 1.031 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.785, allocations: 0 / 1.031 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.7851, allocations: 27.83 kB / 1.031 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.7851, allocations: 4 kB / 1.031 GB, free: 6.109 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000169/0.7853, allocations: 169.8 kB / 1.032 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.7854, allocations: 35.53 kB / 1.032 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.115e-05/0.7854, allocations: 39.59 kB / 1.032 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.7855, allocations: 7.953 kB / 1.032 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.7855, allocations: 0 / 1.032 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.7855, allocations: 0 / 1.032 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.7859, allocations: 369.4 kB / 1.032 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7859, allocations: 0 / 1.032 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.7862, allocations: 59.97 kB / 1.032 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7862, allocations: 0 / 1.032 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.7862, allocations: 4 kB / 1.032 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.7862, allocations: 0 / 1.032 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7862, allocations: 3.953 kB / 1.032 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006084/0.7869, allocations: 394.8 kB / 1.032 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.787, allocations: 124.6 kB / 1.032 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.787, allocations: 3.938 kB / 1.033 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.7872, allocations: 15.98 kB / 1.033 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.7873, allocations: 20 kB / 1.033 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.7873, allocations: 11.94 kB / 1.033 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003223/0.7876, allocations: 299.1 kB / 1.033 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7876, allocations: 0 / 1.033 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003102/0.7879, allocations: 71.84 kB / 1.033 GB, free: 4.418 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 (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.0001652/0.7881, allocations: 107.2 kB / 1.033 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003676/0.7885, allocations: 161.4 kB / 1.033 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7885, allocations: 0 / 1.033 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.7887, allocations: 79.91 kB / 1.033 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.7892, allocations: 85.45 kB / 1.033 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.7906, allocations: 0.8956 MB / 1.034 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.791, allocations: 0.807 MB / 1.035 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001144/0.7911, allocations: 34.95 kB / 1.035 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.245e-05/0.7912, allocations: 27.44 kB / 1.035 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7912, allocations: 0 / 1.035 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of Templates: time 0.0076/0.7988, allocations: 3.557 MB / 1.039 GB, free: 14.73 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches