Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.2|2.|RDelta.1|2.|RDelta.2|1.|RDelta_Ref.1|1.|RDelta_Ref.2|2.|RDelta_Ref.1|2.|RDelta_Ref.2|1.|R.1|1.|R.2|2.|R.1|2.|R.2|1.|R_Ref.1|1.|R_Ref.2|2.|R_Ref.1|2.|R_Ref.2|1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.2|2.|RDelta.1|2.|RDelta.2|1.|RDelta_Ref.1|1.|RDelta_Ref.2|2.|RDelta_Ref.1|2.|RDelta_Ref.2|1.|R.1|1.|R.2|2.|R.1|2.|R.2|1.|R_Ref.1|1.|R_Ref.2|2.|R_Ref.1|2.|R_Ref.2|1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.332/2.332, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.0009665/0.0009666, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.0009037/0.0009038, allocations: 94.95 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.125e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3023, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/1.363, allocations: 162.4 MB / 1.377 GB, free: 7.777 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003497/1.364, allocations: 118 kB / 1.377 GB, free: 7.699 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02412/1.388, allocations: 8.007 MB / 1.385 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.834e-06/1.388, allocations: 0 / 1.385 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.467e-05/1.388, allocations: 4 kB / 1.385 GB, free: 0.5859 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007619/1.389, allocations: 481.4 kB / 1.386 GB, free: 84 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/1.389, allocations: 16.02 kB / 1.386 GB, free: 68 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/1.389, allocations: 11.86 kB / 1.386 GB, free: 56 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/1.389, allocations: 180.6 kB / 1.386 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/1.389, allocations: 3.938 kB / 1.386 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/1.389, allocations: 4 kB / 1.386 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/1.389, allocations: 57.23 kB / 1.386 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/1.389, allocations: 0 / 1.386 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/1.389, allocations: 0 / 1.386 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/1.389, allocations: 0 / 1.386 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.63e-05/1.389, allocations: 27.23 kB / 1.386 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/1.39, allocations: 188 kB / 1.386 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.16e-05/1.39, allocations: 52.67 kB / 1.386 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/1.39, allocations: 34.69 kB / 1.386 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/1.39, allocations: 4 kB / 1.386 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/1.39, allocations: 34.5 kB / 1.386 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/1.39, allocations: 0 / 1.386 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0001929/1.39, allocations: 90.86 kB / 1.386 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/1.39, allocations: 51.41 kB / 1.386 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/1.39, allocations: 144.1 kB / 1.387 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/1.39, allocations: 25.73 kB / 1.387 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/1.39, allocations: 102.4 kB / 1.387 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/1.39, allocations: 22.84 kB / 1.387 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/1.39, allocations: 0 / 1.387 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.391, allocations: 325.6 kB / 1.387 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.803e-05/1.391, allocations: 30.42 kB / 1.387 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-05/1.391, allocations: 27.52 kB / 1.387 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.506e-05/1.391, allocations: 32.02 kB / 1.387 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.391, allocations: 0 / 1.387 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001257/1.391, allocations: 97.03 kB / 1.387 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.391, allocations: 4 kB / 1.387 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/1.391, allocations: 7.984 kB / 1.387 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/1.391, allocations: 0 / 1.387 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/1.391, allocations: 0 / 1.387 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/1.391, allocations: 4.062 kB / 1.387 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/1.391, allocations: 7.844 kB / 1.387 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/1.391, allocations: 7.984 kB / 1.387 GB, free: 14.42 MB / 0.8542 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 () * 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 6.444e-05/1.391, allocations: 105.6 kB / 1.387 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/1.391, allocations: 10.53 kB / 1.387 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/1.391, allocations: 208.3 kB / 1.388 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.504e-05/1.391, allocations: 176.3 kB / 1.388 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.863e-05/1.391, allocations: 184.2 kB / 1.388 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.955e-05/1.391, allocations: 180.3 kB / 1.388 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/1.392, allocations: 443.2 kB / 1.389 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.351e-05/1.392, allocations: 105 kB / 1.389 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-05/1.392, allocations: 105 kB / 1.389 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.354e-05/1.392, allocations: 183.5 kB / 1.389 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/1.392, allocations: 176.3 kB / 1.389 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.998e-05/1.392, allocations: 188.2 kB / 1.389 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.163e-05/1.392, allocations: 180.3 kB / 1.389 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/1.392, allocations: 323.3 kB / 1.39 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/1.392, allocations: 217.3 kB / 1.39 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.327e-05/1.393, allocations: 180.2 kB / 1.39 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/1.393, allocations: 108 kB / 1.39 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/1.393, allocations: 188.3 kB / 1.39 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/1.393, allocations: 104.9 kB / 1.391 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002381/1.393, allocations: 259 kB / 1.391 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.41e-07/1.393, allocations: 0 / 1.391 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007742/1.394, allocations: 235.2 kB / 1.391 GB, free: 10.52 MB / 0.8542 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 () * 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.001009/1.395, allocations: 441.9 kB / 1.391 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001147/1.395, allocations: 73.23 kB / 1.391 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.395, allocations: 3.938 kB / 1.391 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.827e-06/1.395, allocations: 4 kB / 1.391 GB, free: 10 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/1.395, allocations: 0.5262 MB / 1.392 GB, free: 9.477 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002439/1.396, allocations: 195 kB / 1.392 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/1.396, allocations: 0.7083 MB / 1.393 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.305e-05/1.396, allocations: 3.859 kB / 1.393 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.345e-05/1.396, allocations: 7.438 kB / 1.393 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of SimCode: time 2.204e-06/1.396, allocations: 0 / 1.393 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of Templates: time 0.008658/1.405, allocations: 4.196 MB / 1.397 GB, free: 4.395 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches