Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.33/2.33, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001278/0.001278, allocations: 180.8 kB / 498.1 MB, free: 5.73 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.595/1.595, allocations: 223.2 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009915/0.0009912, allocations: 94.81 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004015, allocations: 10.38 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.344, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2271/0.5711, allocations: 170.2 MB / 1.389 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003439/0.5715, allocations: 127.8 kB / 1.389 GB, free: 7.648 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04801/0.6195, allocations: 15.46 MB / 1.404 GB, free: 8.164 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6196, allocations: 0 / 1.404 GB, free: 8.164 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.6196, allocations: 4 kB / 1.404 GB, free: 8.16 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001247/0.6208, allocations: 0.5612 MB / 1.405 GB, free: 7.551 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.6209, allocations: 12.03 kB / 1.405 GB, free: 7.539 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.01e-05/0.621, allocations: 83.14 kB / 1.405 GB, free: 7.457 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.6212, allocations: 246.3 kB / 1.405 GB, free: 7.176 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-05/0.6212, allocations: 154.6 kB / 1.405 GB, free: 7.023 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/0.6213, allocations: 154.6 kB / 1.406 GB, free: 6.871 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.503e-05/0.6214, allocations: 105 kB / 1.406 GB, free: 6.762 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.6214, allocations: 79.22 kB / 1.406 GB, free: 6.684 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.978e-05/0.6215, allocations: 150.6 kB / 1.406 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-05/0.6215, allocations: 150.6 kB / 1.406 GB, free: 6.387 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.129e-05/0.6216, allocations: 154.5 kB / 1.406 GB, free: 6.234 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.622, allocations: 473.8 kB / 1.407 GB, free: 5.723 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 9.616e-05/0.6221, allocations: 169.1 kB / 1.407 GB, free: 5.547 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.6221, allocations: 83.16 kB / 1.407 GB, free: 5.465 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.6222, allocations: 105.8 kB / 1.407 GB, free: 5.352 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 2.455e-06/0.6222, allocations: 7.984 kB / 1.407 GB, free: 5.344 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 9.628e-05/0.6223, allocations: 37.69 kB / 1.407 GB, free: 5.301 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.6224, allocations: 126.7 kB / 1.407 GB, free: 5.164 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.6225, allocations: 118.8 kB / 1.407 GB, free: 5.039 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.6225, allocations: 29.7 kB / 1.407 GB, free: 5.004 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.6226, allocations: 88.12 kB / 1.407 GB, free: 4.914 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-06/0.6226, allocations: 0 / 1.407 GB, free: 4.914 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.6226, allocations: 3.938 kB / 1.407 GB, free: 4.91 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6228, allocations: 326.8 kB / 1.408 GB, free: 4.582 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.111e-05/0.6228, allocations: 11.98 kB / 1.408 GB, free: 4.57 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.556e-05/0.6228, allocations: 3.938 kB / 1.408 GB, free: 4.566 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.009e-05/0.6229, allocations: 8 kB / 1.408 GB, free: 4.559 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6229, allocations: 0 / 1.408 GB, free: 4.559 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001343/0.623, allocations: 49.61 kB / 1.408 GB, free: 4.504 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.623, allocations: 8 kB / 1.408 GB, free: 4.496 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.6231, allocations: 0 / 1.408 GB, free: 4.496 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.6231, allocations: 0 / 1.408 GB, free: 4.496 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.238e-06/0.6231, allocations: 7.984 kB / 1.408 GB, free: 4.488 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.6231, allocations: 4.062 kB / 1.408 GB, free: 4.484 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/0.6231, allocations: 0 / 1.408 GB, free: 4.484 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.6232, allocations: 0 / 1.408 GB, free: 4.484 MB / 0.9011 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001145/0.6233, allocations: 189.1 kB / 1.408 GB, free: 4.289 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.6233, allocations: 108.8 kB / 1.408 GB, free: 4.176 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.235e-05/0.6234, allocations: 108.9 kB / 1.408 GB, free: 4.062 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.968e-05/0.6235, allocations: 188.2 kB / 1.408 GB, free: 3.871 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.198e-05/0.6236, allocations: 180.2 kB / 1.408 GB, free: 3.688 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.765e-05/0.6237, allocations: 180.3 kB / 1.409 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.6239, allocations: 413.1 kB / 1.409 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.154e-05/0.624, allocations: 113.1 kB / 1.409 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.624, allocations: 108.9 kB / 1.409 GB, free: 2.812 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.741e-05/0.6241, allocations: 180.3 kB / 1.409 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-05/0.6242, allocations: 176.3 kB / 1.41 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.432e-05/0.6242, allocations: 184.2 kB / 1.41 GB, free: 2.262 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.292e-05/0.6243, allocations: 176.3 kB / 1.41 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.6245, allocations: 315.7 kB / 1.41 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.678e-05/0.6246, allocations: 186 kB / 1.41 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.513e-05/0.6247, allocations: 180.2 kB / 1.411 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.6248, allocations: 105 kB / 1.411 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.624e-05/0.6249, allocations: 189 kB / 1.411 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/0.6249, allocations: 105 kB / 1.411 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 7.405e-05/0.625, allocations: 105.1 kB / 1.411 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1e-07/0.625, allocations: 0 / 1.411 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001401/0.6264, allocations: 327.4 kB / 1.411 GB, free: 0.5273 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001949/0.6284, allocations: 0.5444 MB / 1.412 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.6285, allocations: 42.03 kB / 1.412 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6285, allocations: 0 / 1.412 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.66e-06/0.6285, allocations: 3.938 kB / 1.412 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.6289, allocations: 0.5303 MB / 1.412 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.6294, allocations: 263.8 kB / 1.413 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.6297, allocations: 0.6848 MB / 1.413 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.025e-05/0.6297, allocations: 7.938 kB / 1.413 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.517e-05/0.6297, allocations: 7.438 kB / 1.413 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of SimCode: time 3.31e-07/0.6297, allocations: 0 / 1.413 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of Templates: time 0.01103/0.6407, allocations: 5.236 MB / 1.419 GB, free: 9.188 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches