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/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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009683/0.0009683, allocations: 91.14 kB / 15.06 MB, free: 1.094 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.001122/0.001122, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.867/2.867, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003527, allocations: 15.5 kB / 0.9022 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3559, allocations: 159.6 MB / 1.058 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.001489/0.3574, allocations: 1.093 MB / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002524/0.36, allocations: 1.658 MB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.36, allocations: 0 / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.783e-05/0.3601, allocations: 7.984 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.3603, allocations: 23.84 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.3624, allocations: 0.9112 MB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.3625, allocations: 67.73 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.3625, allocations: 4 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.558e-05/0.3626, allocations: 27.86 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.3627, allocations: 23.91 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.3627, allocations: 0 / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009608/0.3637, allocations: 0.6825 MB / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.3637, allocations: 31.84 kB / 1.062 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.3638, allocations: 33.7 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006133/0.3644, allocations: 0.507 MB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3644, allocations: 0 / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3644, allocations: 0 / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.3644, allocations: 0 / 1.063 GB, free: 196 kB / 0.8106 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.0005526/0.365, allocations: 471 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.365, allocations: 8.031 kB / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.365, allocations: 7.906 kB / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.3652, allocations: 192 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.3653, allocations: 7.781 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.3653, allocations: 0 / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.3654, allocations: 53.69 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.3654, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.3654, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3654, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.989e-05/0.3654, allocations: 27.92 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.3656, allocations: 193.6 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.465e-05/0.3657, allocations: 50.52 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.3658, allocations: 28.89 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.3658, allocations: 7.984 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.3658, allocations: 30.56 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3658, allocations: 0 / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0002005/0.366, allocations: 117.5 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.3661, allocations: 51.41 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.3662, allocations: 153.1 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.3663, allocations: 29.7 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.3663, allocations: 100.1 kB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.3664, allocations: 31.7 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.3664, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.3665, allocations: 322.8 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.29e-05/0.3665, allocations: 23.98 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.563e-05/0.3666, allocations: 23.98 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.021e-05/0.3666, allocations: 27.98 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3666, allocations: 4.031 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001171/0.3667, allocations: 97.8 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.3668, allocations: 4 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.3668, allocations: 3.984 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.3668, allocations: 3.938 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.615e-06/0.3668, allocations: 7.984 kB / 1.065 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.3668, allocations: 3.984 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.572e-05/0.3668, allocations: 0 / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.3669, allocations: 3.938 kB / 1.065 GB, free: 13.93 MB / 0.8262 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 9.365e-05/0.367, allocations: 125.9 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.367, allocations: 11.86 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.3671, allocations: 102.3 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3672, allocations: 3.938 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3672, allocations: 0 / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3672, allocations: 0 / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.3673, allocations: 193.6 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.3673, allocations: 4 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.3673, allocations: 0 / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3674, allocations: 3.953 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.3674, allocations: 4.031 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3674, allocations: 0 / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3674, allocations: 0 / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.3675, allocations: 117 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.3676, allocations: 92.94 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.3676, allocations: 3.953 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.025e-05/0.3676, allocations: 0 / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.3676, allocations: 4 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.3676, allocations: 8.031 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001181/0.3678, allocations: 118.1 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3678, allocations: 0 / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005008/0.3683, allocations: 195.9 kB / 1.066 GB, free: 12.86 MB / 0.8262 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 (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 Backend phase and start with SimCode phase: time 0.000639/0.3689, allocations: 326.9 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.3691, allocations: 89.67 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3691, allocations: 0 / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.811e-05/0.3691, allocations: 73.67 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.3694, allocations: 14.66 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.3697, allocations: 238.9 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.37, allocations: 0.7121 MB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.878e-05/0.3701, allocations: 0 / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.145e-05/0.3701, allocations: 15.38 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of SimCode: time 1.714e-06/0.3701, allocations: 0 / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of Templates: time 0.008488/0.3786, allocations: 4.241 MB / 1.072 GB, free: 7.148 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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