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.01228/0.01228, allocations: 100.5 kB / 15.87 MB, free: 5.867 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.001963/0.001963, allocations: 192.5 kB / 16.79 MB, free: 5.809 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.502/1.502, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.865/2.865, allocations: 461.8 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 64.39 kB / 0.8991 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3538, allocations: 157.4 MB / 1.053 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.00331/0.3571, allocations: 1.435 MB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003445/0.3606, allocations: 1.844 MB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.629e-05/0.3607, allocations: 4 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.3609, allocations: 11.92 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.361, allocations: 19.91 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002944/0.364, allocations: 1.055 MB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000142/0.3642, allocations: 83.72 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.3642, allocations: 4 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.3643, allocations: 23.86 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.939e-05/0.3644, allocations: 27.91 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.3644, allocations: 0 / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.366, allocations: 0.8423 MB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.134e-05/0.3661, allocations: 35.84 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.3661, allocations: 23.81 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.3671, allocations: 0.5656 MB / 1.059 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3671, allocations: 0 / 1.059 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.82e-07/0.3672, allocations: 0 / 1.059 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.3672, allocations: 0 / 1.059 GB, free: 2.18 MB / 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.0008021/0.368, allocations: 471 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.368, allocations: 8.031 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.3681, allocations: 16.75 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.3683, allocations: 189.6 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.031e-06/0.3683, allocations: 4.375 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.3684, allocations: 3.938 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.3685, allocations: 57.62 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3685, allocations: 0 / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.3685, allocations: 0 / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3685, allocations: 3.938 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.387e-05/0.3686, allocations: 23.98 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002332/0.3688, allocations: 197.5 kB / 1.06 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.015e-05/0.3689, allocations: 50.5 kB / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.369, allocations: 32.89 kB / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.369, allocations: 3.984 kB / 1.06 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.369, allocations: 34.5 kB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.369, allocations: 0 / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0002468/0.3693, allocations: 113.8 kB / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.3693, allocations: 51.41 kB / 1.06 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.3695, allocations: 156.5 kB / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.3695, allocations: 29.7 kB / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.3696, allocations: 100.1 kB / 1.06 GB, free: 476 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.3696, allocations: 23.8 kB / 1.06 GB, free: 452 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.3697, allocations: 21.7 kB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3698, allocations: 318.8 kB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.641e-05/0.3698, allocations: 27.98 kB / 1.06 GB, free: 68 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.15e-05/0.3699, allocations: 27.97 kB / 1.061 GB, free: 40 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.37, allocations: 72.8 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.37, allocations: 0 / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001205/0.3701, allocations: 89.5 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.3702, allocations: 7.984 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.3702, allocations: 0 / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3702, allocations: 8 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.3702, allocations: 0 / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3702, allocations: 0 / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.3703, allocations: 0 / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.3703, allocations: 0 / 1.061 GB, free: 15.86 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.987e-05/0.3704, allocations: 133.8 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.3704, allocations: 11.84 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.3706, allocations: 102.3 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3706, allocations: 0 / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.3706, allocations: 4 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3706, allocations: 7.969 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.3708, allocations: 189.5 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.3708, allocations: 4 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-06/0.3708, allocations: 0 / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3708, allocations: 4.031 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.3708, allocations: 0 / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3708, allocations: 0 / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3708, allocations: 0 / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.371, allocations: 128.9 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.3711, allocations: 92.88 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.3711, allocations: 0 / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.46e-05/0.3711, allocations: 4 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.3711, allocations: 4.031 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.3711, allocations: 0 / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.792e-05/0.3712, allocations: 125.6 kB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3712, allocations: 0 / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000717/0.372, allocations: 207.9 kB / 1.062 GB, free: 14.76 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 (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.001095/0.3731, allocations: 332.2 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001575/0.3732, allocations: 93.66 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3732, allocations: 0 / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.248e-05/0.3733, allocations: 73.75 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.3736, allocations: 15.92 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.3741, allocations: 267 kB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.3744, allocations: 0.716 MB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.3744, allocations: 7.438 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.3744, allocations: 0 / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of Templates: time 0.008114/0.3825, allocations: 3.979 MB / 1.067 GB, free: 9.223 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/jenkins1/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