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.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.333/2.333, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001193/0.001193, allocations: 175.3 kB / 498.1 MB, free: 5.688 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.659/1.659, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.001053/0.001053, allocations: 95.77 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003747, allocations: 7 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3506, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.227/0.5777, allocations: 161.6 MB / 1.381 GB, free: 340 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/0.5781, allocations: 123.9 kB / 1.381 GB, free: 216 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02436/0.6024, allocations: 8.513 MB / 1.389 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.655e-06/0.6025, allocations: 0 / 1.389 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.6025, allocations: 4 kB / 1.389 GB, free: 7.672 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008728/0.6034, allocations: 0.5954 MB / 1.39 GB, free: 7.027 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.6034, allocations: 8.031 kB / 1.39 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.6035, allocations: 27.67 kB / 1.39 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.6037, allocations: 217.7 kB / 1.39 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.6038, allocations: 0 / 1.39 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.6038, allocations: 0 / 1.39 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.604, allocations: 113.6 kB / 1.39 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.604, allocations: 4 kB / 1.39 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.604, allocations: 0 / 1.39 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.604, allocations: 0 / 1.39 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.032e-05/0.6041, allocations: 71.97 kB / 1.39 GB, free: 6.551 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.6044, allocations: 285.7 kB / 1.39 GB, free: 6.223 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.6046, allocations: 118.5 kB / 1.391 GB, free: 6.098 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.6046, allocations: 3.984 kB / 1.391 GB, free: 6.094 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.6046, allocations: 34.59 kB / 1.391 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=32): time 2.775e-06/0.6046, allocations: 3.938 kB / 1.391 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of matching and sorting (n=32): time 0.0004926/0.6051, allocations: 435.6 kB / 1.391 GB, free: 5.598 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.6052, allocations: 51.41 kB / 1.391 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.6054, allocations: 233.2 kB / 1.391 GB, free: 5.305 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.6054, allocations: 25.7 kB / 1.391 GB, free: 5.273 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/0.6055, allocations: 128.7 kB / 1.391 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.6056, allocations: 110.4 kB / 1.392 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-06/0.6056, allocations: 0 / 1.392 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.6058, allocations: 338.8 kB / 1.392 GB, free: 4.695 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.6058, allocations: 79.95 kB / 1.392 GB, free: 4.617 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.6059, allocations: 75.97 kB / 1.392 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.606, allocations: 108 kB / 1.392 GB, free: 4.438 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.606, allocations: 0 / 1.392 GB, free: 4.438 MB / 0.8855 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002399/0.6063, allocations: 225.2 kB / 1.392 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.6063, allocations: 4 kB / 1.392 GB, free: 4.207 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.6063, allocations: 4 kB / 1.392 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.6064, allocations: 0 / 1.392 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.6064, allocations: 3.938 kB / 1.392 GB, free: 4.199 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.6064, allocations: 7.969 kB / 1.392 GB, free: 4.191 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.6064, allocations: 11.84 kB / 1.392 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.6065, allocations: 4 kB / 1.392 GB, free: 4.176 MB / 0.8855 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.0001563/0.6066, allocations: 162 kB / 1.393 GB, free: 4.008 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.6066, allocations: 19.72 kB / 1.393 GB, free: 3.988 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004917/0.6071, allocations: 0.5727 MB / 1.393 GB, free: 3.316 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.469e-05/0.6072, allocations: 176.3 kB / 1.393 GB, free: 3.137 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.551e-05/0.6073, allocations: 188.3 kB / 1.393 GB, free: 2.945 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-05/0.6074, allocations: 184.2 kB / 1.394 GB, free: 2.758 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.6078, allocations: 0.5475 MB / 1.394 GB, free: 2.152 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.453e-05/0.6078, allocations: 104.9 kB / 1.394 GB, free: 2.043 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.6079, allocations: 109 kB / 1.394 GB, free: 1.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.339e-05/0.608, allocations: 180.3 kB / 1.395 GB, free: 1.746 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.72e-05/0.608, allocations: 188.2 kB / 1.395 GB, free: 1.555 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.534e-05/0.6081, allocations: 176.3 kB / 1.395 GB, free: 1.375 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.834e-05/0.6082, allocations: 184.2 kB / 1.395 GB, free: 1.188 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.6084, allocations: 327.4 kB / 1.395 GB, free: 0.8438 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005114/0.6089, allocations: 369.4 kB / 1.396 GB, free: 468 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.609, allocations: 184.2 kB / 1.396 GB, free: 276 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.6092, allocations: 104.9 kB / 1.396 GB, free: 164 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.676e-05/0.6093, allocations: 180.3 kB / 1.396 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/0.6094, allocations: 104.9 kB / 1.396 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001269/0.6106, allocations: 1.147 MB / 1.397 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6106, allocations: 0 / 1.397 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001055/0.6117, allocations: 303.7 kB / 1.398 GB, free: 14.42 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.0008595/0.6126, allocations: 442.6 kB / 1.398 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002433/0.6128, allocations: 185.6 kB / 1.398 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.6128, allocations: 0 / 1.398 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.6128, allocations: 0 / 1.398 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.6133, allocations: 0.5473 MB / 1.399 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008281/0.6142, allocations: 0.5272 MB / 1.399 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.6146, allocations: 0.7628 MB / 1.4 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.453e-05/0.6146, allocations: 4 kB / 1.4 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.6146, allocations: 11.44 kB / 1.4 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of SimCode: time 2.2e-07/0.6147, allocations: 0 / 1.4 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of Templates: time 0.008755/0.6234, allocations: 4.422 MB / 1.404 GB, free: 7.5 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches