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.001378/0.001377, allocations: 119.1 kB / 16.37 MB, free: 6.004 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.001304/0.001305, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.507/2.507, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.53 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2967, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002438/0.2992, allocations: 1.395 MB / 1.028 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002488/0.3017, allocations: 1.786 MB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.3017, allocations: 0 / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.069e-05/0.3018, allocations: 15.92 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.302, allocations: 19.91 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.3043, allocations: 1.154 MB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.98e-05/0.3045, allocations: 51.72 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.866e-05/0.3045, allocations: 4 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.999e-05/0.3046, allocations: 19.97 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.376e-05/0.3046, allocations: 35.78 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.3047, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.3057, allocations: 0.8813 MB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.638e-05/0.3057, allocations: 31.91 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.3058, allocations: 23.81 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008549/0.3066, allocations: 0.7991 MB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3066, allocations: 0 / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3067, allocations: 4 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3067, allocations: 0 / 1.033 GB, free: 11.8 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.0004687/0.3071, allocations: 474.9 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.3072, allocations: 8.031 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.3072, allocations: 8.844 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.3074, allocations: 186.1 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.3074, allocations: 384 / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.3074, allocations: 3.938 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.97e-05/0.3075, allocations: 53.69 kB / 1.034 GB, free: 11 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.3075, allocations: 7.938 kB / 1.034 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.3075, allocations: 0 / 1.034 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-06/0.3076, allocations: 4 kB / 1.034 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.286e-05/0.3076, allocations: 19.98 kB / 1.034 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.3078, allocations: 205.5 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.656e-05/0.3078, allocations: 42.52 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.3079, allocations: 36.88 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.3079, allocations: 0 / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.3079, allocations: 34.56 kB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.974e-06/0.3079, allocations: 0 / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0001922/0.3081, allocations: 121.5 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.3082, allocations: 55.34 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.3083, allocations: 155.7 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.3083, allocations: 25.7 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.3084, allocations: 96.14 kB / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.3084, allocations: 27.55 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.3085, allocations: 25.69 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.3086, allocations: 326.8 kB / 1.035 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.35e-05/0.3086, allocations: 23.98 kB / 1.035 GB, free: 9.688 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.43e-05/0.3086, allocations: 23.98 kB / 1.035 GB, free: 9.664 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.063e-05/0.3087, allocations: 64.78 kB / 1.035 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3087, allocations: 0 / 1.035 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.996e-05/0.3088, allocations: 93.72 kB / 1.035 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.3088, allocations: 4 kB / 1.035 GB, free: 9.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.3089, allocations: 8.062 kB / 1.035 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.3089, allocations: 0 / 1.035 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.3089, allocations: 0 / 1.035 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.3089, allocations: 320 / 1.035 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.3089, allocations: 0 / 1.035 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3089, allocations: 0 / 1.035 GB, free: 9.488 MB / 0.8106 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 8.24e-05/0.309, allocations: 133.7 kB / 1.035 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.309, allocations: 11.89 kB / 1.035 GB, free: 9.336 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.3092, allocations: 113.2 kB / 1.035 GB, free: 9.219 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.3092, allocations: 8.031 kB / 1.035 GB, free: 9.211 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3092, allocations: 0 / 1.035 GB, free: 9.211 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3092, allocations: 4 kB / 1.035 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.3093, allocations: 193.6 kB / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3094, allocations: 0 / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.3094, allocations: 0 / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3094, allocations: 0 / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.3094, allocations: 0 / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.3094, allocations: 0 / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3094, allocations: 4 kB / 1.035 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.3095, allocations: 124.9 kB / 1.035 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.3096, allocations: 84.95 kB / 1.036 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.3096, allocations: 4 kB / 1.036 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.13e-05/0.3096, allocations: 0 / 1.036 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.3096, allocations: 7.969 kB / 1.036 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.3096, allocations: 0 / 1.036 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.36e-05/0.3097, allocations: 121.1 kB / 1.036 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.313e-06/0.3097, allocations: 0 / 1.036 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004859/0.3102, allocations: 211.8 kB / 1.036 GB, free: 8.387 MB / 0.8106 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.0006335/0.3109, allocations: 334.9 kB / 1.036 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.311, allocations: 93.67 kB / 1.036 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.311, allocations: 0 / 1.036 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.246e-05/0.3111, allocations: 69.69 kB / 1.036 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.3113, allocations: 8.5 kB / 1.036 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.3116, allocations: 239.6 kB / 1.037 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.3118, allocations: 0.7002 MB / 1.037 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.809e-05/0.3119, allocations: 4 kB / 1.037 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.264e-05/0.3119, allocations: 7.438 kB / 1.037 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3119, allocations: 0 / 1.037 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of Templates: time 0.007225/0.3191, allocations: 4.308 MB / 1.041 GB, free: 2.629 MB / 0.8106 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 -s cvode -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