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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001115/0.001116, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.689/2.689, allocations: 472.7 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 64 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2623, allocations: 159.9 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002318/0.2647, allocations: 1.38 MB / 1.07 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002577/0.2673, allocations: 1.784 MB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.245e-05/0.2673, allocations: 0 / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.212e-05/0.2674, allocations: 11.92 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.2675, allocations: 27.83 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002398/0.2699, allocations: 1.143 MB / 1.073 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.59e-05/0.27, allocations: 43.78 kB / 1.073 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.273e-05/0.2701, allocations: 0 / 1.073 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.384e-05/0.2702, allocations: 27.86 kB / 1.073 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.227e-05/0.2702, allocations: 27.91 kB / 1.073 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.2702, allocations: 0 / 1.073 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.2713, allocations: 0.8501 MB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.2714, allocations: 27.91 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.2714, allocations: 31.73 kB / 1.074 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008851/0.2723, allocations: 0.7916 MB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2723, allocations: 0 / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2724, allocations: 3.938 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2724, allocations: 4 kB / 1.074 GB, free: 4.188 MB / 0.8262 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.0004929/0.2729, allocations: 474.9 kB / 1.075 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2729, allocations: 16.03 kB / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.2729, allocations: 8.781 kB / 1.075 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.2731, allocations: 185.6 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.2731, allocations: 4.375 kB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.2731, allocations: 3.938 kB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.848e-05/0.2732, allocations: 57.62 kB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.2732, allocations: 0 / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.2732, allocations: 3.984 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2733, allocations: 0 / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.301e-05/0.2733, allocations: 31.98 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.2735, allocations: 189.6 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.679e-05/0.2736, allocations: 50.5 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.2736, allocations: 32.83 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.2736, allocations: 3.984 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.2736, allocations: 34.56 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.2737, allocations: 0 / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0001862/0.2738, allocations: 121.7 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.2739, allocations: 55.41 kB / 1.076 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.274, allocations: 153 kB / 1.076 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.274, allocations: 25.7 kB / 1.076 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.2741, allocations: 96.12 kB / 1.076 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.2741, allocations: 27.56 kB / 1.076 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.2742, allocations: 21.7 kB / 1.076 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2743, allocations: 322.8 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.098e-05/0.2743, allocations: 27.95 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.811e-05/0.2744, allocations: 28.22 kB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.012e-05/0.2744, allocations: 64.89 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2744, allocations: 0 / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001099/0.2746, allocations: 89.59 kB / 1.076 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2746, allocations: 7.984 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.2746, allocations: 4 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.2746, allocations: 0 / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-07/0.2746, allocations: 0 / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.2746, allocations: 0 / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.842e-05/0.2747, allocations: 4.062 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.2747, allocations: 7.938 kB / 1.076 GB, free: 1.855 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 7.896e-05/0.2748, allocations: 126.4 kB / 1.076 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.2748, allocations: 7.906 kB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.2749, allocations: 106.9 kB / 1.077 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2749, allocations: 3.938 kB / 1.077 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.2749, allocations: 0 / 1.077 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.275, allocations: 3.984 kB / 1.077 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.2751, allocations: 201.6 kB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.2751, allocations: 0 / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.2751, allocations: 0 / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.2751, allocations: 0 / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.2751, allocations: 4 kB / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2751, allocations: 0 / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2751, allocations: 0 / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.2753, allocations: 120.9 kB / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.2753, allocations: 100.9 kB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.2753, allocations: 0 / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.252e-05/0.2754, allocations: 0 / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-06/0.2754, allocations: 0 / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.2754, allocations: 8 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.361e-05/0.2755, allocations: 122.4 kB / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2755, allocations: 0 / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004835/0.276, allocations: 199.9 kB / 1.077 GB, free: 0.7695 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.000645/0.2766, allocations: 342.4 kB / 1.078 GB, free: 440 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.2768, allocations: 97.67 kB / 1.078 GB, free: 336 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2768, allocations: 0 / 1.078 GB, free: 336 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.441e-05/0.2768, allocations: 69.62 kB / 1.078 GB, free: 260 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.277, allocations: 7.984 kB / 1.078 GB, free: 252 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.2774, allocations: 227.6 kB / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.2777, allocations: 0.7041 MB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.602e-05/0.2777, allocations: 0 / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.311e-05/0.2777, allocations: 7.438 kB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.2777, allocations: 0 / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of Templates: time 0.007595/0.2853, allocations: 4.316 MB / 1.083 GB, free: 11 MB / 0.8419 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