Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009726/0.0009726, allocations: 99.42 kB / 16.02 MB, free: 76 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.001327/0.001327, allocations: 186.9 kB / 16.92 MB, free: 6.75 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.442/1.442, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.808/2.808, allocations: 437.8 MB / 0.7128 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004766, allocations: 15.98 kB / 0.8736 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7996/0.8001, allocations: 153.8 MB / 1.024 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001842/0.802, allocations: 1.109 MB / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003439/0.8054, allocations: 1.795 MB / 1.027 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/0.8055, allocations: 4 kB / 1.027 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.8057, allocations: 7.922 kB / 1.027 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.8059, allocations: 35.89 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002974/0.8089, allocations: 1.049 MB / 1.028 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.809, allocations: 75.81 kB / 1.028 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.8091, allocations: 4 kB / 1.028 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.8092, allocations: 35.83 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.231e-05/0.8093, allocations: 31.91 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.8093, allocations: 4 kB / 1.028 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.8109, allocations: 0.8384 MB / 1.029 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.8111, allocations: 79.69 kB / 1.029 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.931e-05/0.8112, allocations: 89.14 kB / 1.029 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.8123, allocations: 0.6257 MB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.8123, allocations: 0 / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.726e-06/0.8123, allocations: 0 / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.8123, allocations: 0 / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009011/0.8132, allocations: 0.5568 MB / 1.03 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.8133, allocations: 12.03 kB / 1.03 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.8133, allocations: 24.56 kB / 1.03 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.8136, allocations: 230.8 kB / 1.03 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.8136, allocations: 4.375 kB / 1.03 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.8136, allocations: 384 / 1.03 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.8138, allocations: 117.8 kB / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.8139, allocations: 0 / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.8139, allocations: 0 / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.8139, allocations: 0 / 1.03 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.847e-05/0.814, allocations: 71.98 kB / 1.03 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.8143, allocations: 277.9 kB / 1.031 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.8145, allocations: 126.5 kB / 1.031 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.965e-05/0.8146, allocations: 100.9 kB / 1.031 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.855e-05/0.8147, allocations: 7.938 kB / 1.031 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.8147, allocations: 38.55 kB / 1.031 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=32): time 1.332e-06/0.8147, allocations: 0 / 1.031 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=32): time 0.0004641/0.8152, allocations: 333.7 kB / 1.031 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.8152, allocations: 51.41 kB / 1.031 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.8155, allocations: 257 kB / 1.032 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.8155, allocations: 29.73 kB / 1.032 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.728e-05/0.8156, allocations: 128.7 kB / 1.032 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.995e-05/0.8157, allocations: 110.4 kB / 1.032 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.8158, allocations: 25.7 kB / 1.032 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.8159, allocations: 338.8 kB / 1.032 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.816, allocations: 79.91 kB / 1.032 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.876e-05/0.8161, allocations: 67.98 kB / 1.032 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.8163, allocations: 209.8 kB / 1.032 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.8163, allocations: 4.031 kB / 1.032 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002588/0.8166, allocations: 229.2 kB / 1.033 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.8166, allocations: 4 kB / 1.033 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.8166, allocations: 4 kB / 1.033 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.8167, allocations: 0 / 1.033 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/0.8167, allocations: 0 / 1.033 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.8167, allocations: 0 / 1.033 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.413e-05/0.8167, allocations: 11.84 kB / 1.033 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.8168, allocations: 0 / 1.033 GB, free: 6.414 MB / 0.7794 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 0.0001545/0.8169, allocations: 157.8 kB / 1.033 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.8169, allocations: 27.56 kB / 1.033 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.8173, allocations: 256.4 kB / 1.033 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.8173, allocations: 0 / 1.033 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8173, allocations: 0 / 1.033 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.8173, allocations: 0 / 1.033 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.8176, allocations: 277.9 kB / 1.033 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.8176, allocations: 15.88 kB / 1.033 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.8176, allocations: 4.031 kB / 1.033 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.8176, allocations: 0 / 1.033 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.8176, allocations: 0 / 1.033 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.8176, allocations: 0 / 1.033 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8176, allocations: 0 / 1.033 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.8179, allocations: 256.7 kB / 1.034 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.818, allocations: 108.7 kB / 1.034 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.818, allocations: 0 / 1.034 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.897e-05/0.8181, allocations: 4.031 kB / 1.034 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.8181, allocations: 0 / 1.034 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.8181, allocations: 4 kB / 1.034 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001833/0.8183, allocations: 192.4 kB / 1.034 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.21e-07/0.8183, allocations: 0 / 1.034 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007031/0.819, allocations: 215.8 kB / 1.034 GB, free: 4.832 MB / 0.7794 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.0009823/0.82, allocations: 336 kB / 1.034 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003005/0.8203, allocations: 261.5 kB / 1.035 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.8203, allocations: 4.062 kB / 1.035 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.8205, allocations: 177.6 kB / 1.035 GB, free: 4.047 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.8208, allocations: 23.44 kB / 1.035 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008314/0.8216, allocations: 0.6112 MB / 1.036 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.822, allocations: 0.7752 MB / 1.036 GB, free: 2.582 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.822, allocations: 7.438 kB / 1.036 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of SimCode: time 2.475e-06/0.822, allocations: 0 / 1.036 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of Templates: time 0.009752/0.8318, allocations: 4.658 MB / 1.041 GB, free: 13.92 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches