Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00614/0.00614, allocations: 99.62 kB / 15.73 MB, free: 6.059 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.001228/0.001228, allocations: 189.3 kB / 16.67 MB, free: 5.969 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.679/2.679, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 72.09 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2738, allocations: 159.1 MB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00498/0.2788, allocations: 4.165 MB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003082/0.2818, allocations: 2.421 MB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002346/0.2821, allocations: 19.88 kB / 1.227 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.2834, allocations: 0.5285 MB / 1.228 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004041/0.2838, allocations: 254 kB / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.2841, allocations: 139.9 kB / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007571/0.2848, allocations: 0.8098 MB / 1.229 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003483/0.2852, allocations: 230.6 kB / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003352/0.2855, allocations: 294.9 kB / 1.229 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003422/0.2859, allocations: 330.6 kB / 1.23 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.947e-05/0.2859, allocations: 76 kB / 1.23 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.286, allocations: 76 kB / 1.23 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.2862, allocations: 167.4 kB / 1.23 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.2865, allocations: 386.2 kB / 1.23 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008319/0.2873, allocations: 0.9923 MB / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2873, allocations: 0 / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2873, allocations: 0 / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.2873, allocations: 4 kB / 1.231 GB, free: 2.84 MB / 0.9825 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.001352/0.2887, allocations: 0.973 MB / 1.232 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.2887, allocations: 8.031 kB / 1.232 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.2888, allocations: 76.47 kB / 1.232 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005876/0.2894, allocations: 462.1 kB / 1.233 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.2895, allocations: 29.38 kB / 1.233 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.627e-05/0.2895, allocations: 52.33 kB / 1.233 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007196/0.2902, allocations: 442.7 kB / 1.233 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.2903, allocations: 7.984 kB / 1.233 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/0.2903, allocations: 20 kB / 1.233 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.2903, allocations: 12 kB / 1.233 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006732/0.291, allocations: 363.8 kB / 1.234 GB, free: 340 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.2929, allocations: 1.524 MB / 1.235 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005035/0.2934, allocations: 312.7 kB / 1.235 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004656/0.2939, allocations: 290.9 kB / 1.236 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.2939, allocations: 8.688 kB / 1.236 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.2939, allocations: 38.5 kB / 1.236 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=42): time 1.522e-06/0.2939, allocations: 0 / 1.236 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42): time 0.0009334/0.2949, allocations: 0.4927 MB / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.2949, allocations: 63.12 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/0.2955, allocations: 489.9 kB / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.2955, allocations: 33.7 kB / 1.237 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.2957, allocations: 280.7 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.2959, allocations: 154.6 kB / 1.237 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.296, allocations: 62.08 kB / 1.237 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2961, allocations: 358.8 kB / 1.238 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.2964, allocations: 120.7 kB / 1.238 GB, free: 12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.2966, allocations: 129.4 kB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004981/0.2971, allocations: 298.2 kB / 1.238 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2971, allocations: 0 / 1.238 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006387/0.2978, allocations: 400.5 kB / 1.238 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2978, allocations: 11.94 kB / 1.238 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.2978, allocations: 0 / 1.238 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2978, allocations: 0 / 1.238 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.2983, allocations: 127.9 kB / 1.239 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.2983, allocations: 4 kB / 1.239 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.2985, allocations: 39.72 kB / 1.239 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.2985, allocations: 12 kB / 1.239 GB, free: 10.99 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001877/0.2987, allocations: 194.3 kB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.109e-05/0.2988, allocations: 55.61 kB / 1.239 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.867e-05/0.2989, allocations: 57.11 kB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2989, allocations: 4 kB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2989, allocations: 4 kB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.2989, allocations: 7.984 kB / 1.239 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.2995, allocations: 0.579 MB / 1.24 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2995, allocations: 0 / 1.24 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/0.3, allocations: 127.8 kB / 1.24 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3, allocations: 4 kB / 1.24 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.3001, allocations: 8 kB / 1.24 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3001, allocations: 4 kB / 1.24 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3001, allocations: 0 / 1.24 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000929/0.301, allocations: 0.6521 MB / 1.24 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.3011, allocations: 140.7 kB / 1.24 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.3012, allocations: 8 kB / 1.24 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.3014, allocations: 15.98 kB / 1.24 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.3014, allocations: 23.97 kB / 1.24 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.3015, allocations: 12 kB / 1.241 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003823/0.3018, allocations: 355.1 kB / 1.241 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3018, allocations: 0 / 1.241 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003724/0.3022, allocations: 143.7 kB / 1.241 GB, free: 8.531 MB / 0.9981 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 (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.0001378/0.3024, allocations: 119.1 kB / 1.241 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005461/0.3029, allocations: 295.6 kB / 1.241 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3029, allocations: 7.938 kB / 1.241 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.3032, allocations: 171.6 kB / 1.242 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006049/0.3038, allocations: 130.9 kB / 1.242 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.3056, allocations: 1.212 MB / 1.243 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.306, allocations: 0.8665 MB / 1.244 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001598/0.3061, allocations: 52.39 kB / 1.244 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.097e-05/0.3062, allocations: 35.44 kB / 1.244 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.3062, allocations: 0 / 1.244 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of Templates: time 0.529/0.8353, allocations: 6.074 MB / 1.25 GB, free: 29.54 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches