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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01267/0.01267, allocations: 99.67 kB / 15.73 MB, free: 6.039 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.002178/0.002178, allocations: 197.9 kB / 16.68 MB, free: 5.965 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 62.62 kB / 0.9509 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2785, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004842/0.2833, allocations: 4.166 MB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003192/0.2866, allocations: 2.413 MB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.2868, allocations: 8 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.2882, allocations: 0.5441 MB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004186/0.2887, allocations: 250 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.2889, allocations: 135.8 kB / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007312/0.2896, allocations: 0.8098 MB / 1.096 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004529/0.2901, allocations: 330.5 kB / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.2904, allocations: 290.9 kB / 1.097 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.2908, allocations: 330.6 kB / 1.097 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.64e-05/0.2909, allocations: 72 kB / 1.097 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.291, allocations: 79.94 kB / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.2911, allocations: 163.5 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000321/0.2915, allocations: 386.2 kB / 1.098 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008901/0.2924, allocations: 0.9962 MB / 1.099 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2924, allocations: 4 kB / 1.099 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2924, allocations: 0 / 1.099 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.2924, allocations: 0 / 1.099 GB, free: 6.52 MB / 0.8575 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.001377/0.2938, allocations: 0.9652 MB / 1.1 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2938, allocations: 8.031 kB / 1.1 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.294, allocations: 80.47 kB / 1.1 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005805/0.2945, allocations: 469.9 kB / 1.1 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.2946, allocations: 37.38 kB / 1.1 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-05/0.2947, allocations: 48.38 kB / 1.1 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006969/0.2954, allocations: 442.7 kB / 1.101 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.2954, allocations: 4 kB / 1.101 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.2954, allocations: 20 kB / 1.101 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.2954, allocations: 12 kB / 1.101 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006517/0.2961, allocations: 363.8 kB / 1.101 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.2981, allocations: 1.516 MB / 1.102 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005013/0.2986, allocations: 344.7 kB / 1.103 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004684/0.2991, allocations: 328.4 kB / 1.103 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.2991, allocations: 8 kB / 1.103 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.2991, allocations: 38.5 kB / 1.103 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=42): time 1.603e-06/0.2991, allocations: 4 kB / 1.103 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42): time 0.0009181/0.3001, allocations: 0.4934 MB / 1.104 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.3001, allocations: 55.41 kB / 1.104 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005255/0.3006, allocations: 489.9 kB / 1.104 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.3007, allocations: 33.7 kB / 1.104 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.3009, allocations: 276.7 kB / 1.104 GB, free: 324 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.301, allocations: 154.7 kB / 1.105 GB, free: 168 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.62e-05/0.3011, allocations: 58.08 kB / 1.105 GB, free: 100 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3012, allocations: 362.7 kB / 1.105 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.3015, allocations: 120.7 kB / 1.105 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.3017, allocations: 133.2 kB / 1.105 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/0.3023, allocations: 294 kB / 1.106 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3023, allocations: 4 kB / 1.106 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000625/0.3029, allocations: 396.7 kB / 1.106 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3029, allocations: 9.547 kB / 1.106 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3029, allocations: 0 / 1.106 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.303, allocations: 4 kB / 1.106 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.3035, allocations: 127.8 kB / 1.106 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3035, allocations: 0 / 1.106 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.3037, allocations: 47.67 kB / 1.106 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.3037, allocations: 12 kB / 1.106 GB, free: 14.61 MB / 0.8731 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.0001933/0.3039, allocations: 189.8 kB / 1.106 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/0.304, allocations: 55.61 kB / 1.106 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.3041, allocations: 65.09 kB / 1.106 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3041, allocations: 4 kB / 1.106 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3042, allocations: 0 / 1.106 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3042, allocations: 0 / 1.106 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.3048, allocations: 0.5752 MB / 1.107 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3048, allocations: 0 / 1.107 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.3053, allocations: 127.8 kB / 1.107 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3053, allocations: 4 kB / 1.107 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.3053, allocations: 11.98 kB / 1.107 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3053, allocations: 4 kB / 1.107 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3053, allocations: 3.938 kB / 1.107 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009624/0.3063, allocations: 0.6449 MB / 1.108 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.3065, allocations: 148.6 kB / 1.108 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.155e-05/0.3065, allocations: 8 kB / 1.108 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.3067, allocations: 16 kB / 1.108 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.3068, allocations: 19.97 kB / 1.108 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.3068, allocations: 11.98 kB / 1.108 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003686/0.3072, allocations: 351.1 kB / 1.108 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3072, allocations: 8 kB / 1.108 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003817/0.3076, allocations: 139.7 kB / 1.108 GB, free: 12.15 MB / 0.8731 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.0001343/0.3077, allocations: 119.1 kB / 1.109 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005753/0.3083, allocations: 331.4 kB / 1.109 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3083, allocations: 0 / 1.109 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000281/0.3086, allocations: 179.8 kB / 1.109 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006142/0.3093, allocations: 133.5 kB / 1.109 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.311, allocations: 1.216 MB / 1.11 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.3114, allocations: 0.8665 MB / 1.111 GB, free: 9.254 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001765/0.3116, allocations: 52.39 kB / 1.111 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.608e-05/0.3117, allocations: 39.44 kB / 1.111 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.3117, allocations: 3.938 kB / 1.111 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of Templates: time 0.01002/0.3217, allocations: 6.011 MB / 1.117 GB, free: 3.289 MB / 0.8731 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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