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_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_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_10_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_10_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.001602/0.001602, allocations: 103.5 kB / 16.27 MB, free: 6.418 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.001537/0.001536, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.48/1.48, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 437.1 MB / 0.7111 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001992, allocations: 68.05 kB / 0.87 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3607, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.003308/0.364, allocations: 1.385 MB / 1.019 GB, free: 9.23 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003562/0.3676, allocations: 1.792 MB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.651e-05/0.3677, allocations: 0 / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.3679, allocations: 7.922 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.3681, allocations: 23.89 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003626/0.3717, allocations: 1.161 MB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.3718, allocations: 47.78 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.911e-05/0.3719, allocations: 7.984 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.372, allocations: 23.92 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.496e-05/0.3721, allocations: 15.92 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3721, allocations: 4 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.3739, allocations: 0.8578 MB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.166e-05/0.374, allocations: 27.91 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.042e-05/0.3741, allocations: 19.81 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.3759, allocations: 0.8033 MB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3759, allocations: 0 / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3759, allocations: 0 / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.376, allocations: 3.984 kB / 1.024 GB, free: 4.441 MB / 0.795 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.0008987/0.3769, allocations: 471 kB / 1.025 GB, free: 3.934 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.3769, allocations: 8.031 kB / 1.025 GB, free: 3.926 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.377, allocations: 12.75 kB / 1.025 GB, free: 3.914 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.3772, allocations: 184.8 kB / 1.025 GB, free: 3.695 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3773, allocations: 4.312 kB / 1.025 GB, free: 3.691 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.3773, allocations: 11.94 kB / 1.025 GB, free: 3.68 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.3774, allocations: 49.69 kB / 1.025 GB, free: 3.625 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3774, allocations: 0 / 1.025 GB, free: 3.625 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3775, allocations: 0 / 1.025 GB, free: 3.625 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3775, allocations: 3.938 kB / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.534e-05/0.3775, allocations: 27.98 kB / 1.025 GB, free: 3.594 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.3778, allocations: 193.5 kB / 1.025 GB, free: 3.355 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.157e-05/0.3779, allocations: 50.5 kB / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/0.3779, allocations: 36.88 kB / 1.025 GB, free: 3.258 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.378, allocations: 160 / 1.025 GB, free: 3.258 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.378, allocations: 34.56 kB / 1.025 GB, free: 3.215 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.378, allocations: 0 / 1.025 GB, free: 3.215 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0002614/0.3783, allocations: 121.5 kB / 1.025 GB, free: 3.09 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.3784, allocations: 55.39 kB / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.3786, allocations: 152.3 kB / 1.025 GB, free: 2.863 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.3786, allocations: 29.7 kB / 1.025 GB, free: 2.828 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.3787, allocations: 100.2 kB / 1.026 GB, free: 2.727 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.3787, allocations: 19.64 kB / 1.026 GB, free: 2.707 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.3788, allocations: 21.72 kB / 1.026 GB, free: 2.68 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.3789, allocations: 322.8 kB / 1.026 GB, free: 2.355 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.831e-05/0.379, allocations: 23.98 kB / 1.026 GB, free: 2.332 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.379, allocations: 27.94 kB / 1.026 GB, free: 2.305 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.892e-05/0.3791, allocations: 68.77 kB / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3791, allocations: 0 / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001372/0.3793, allocations: 97.52 kB / 1.026 GB, free: 2.133 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3793, allocations: 4 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.3793, allocations: 0 / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3793, allocations: 0 / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.3793, allocations: 4 kB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.3793, allocations: 0 / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.674e-05/0.3794, allocations: 0 / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.3794, allocations: 0 / 1.026 GB, free: 2.125 MB / 0.795 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.0001165/0.3795, allocations: 125.8 kB / 1.026 GB, free: 1.992 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.3795, allocations: 11.94 kB / 1.026 GB, free: 1.98 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.3797, allocations: 114.2 kB / 1.026 GB, free: 1.863 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3797, allocations: 0 / 1.026 GB, free: 1.863 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3798, allocations: 0 / 1.026 GB, free: 1.863 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3798, allocations: 8 kB / 1.026 GB, free: 1.855 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.38, allocations: 193.5 kB / 1.027 GB, free: 1.617 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.38, allocations: 7.984 kB / 1.027 GB, free: 1.609 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.38, allocations: 0 / 1.027 GB, free: 1.609 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.38, allocations: 0 / 1.027 GB, free: 1.609 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.38, allocations: 0 / 1.027 GB, free: 1.609 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.38, allocations: 4.031 kB / 1.027 GB, free: 1.605 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.38, allocations: 0 / 1.027 GB, free: 1.605 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.3802, allocations: 121.3 kB / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.3802, allocations: 84.95 kB / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.3803, allocations: 0 / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.134e-05/0.3803, allocations: 7.938 kB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.3803, allocations: 0 / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.3803, allocations: 0 / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001038/0.3804, allocations: 129.6 kB / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3804, allocations: 0 / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006414/0.3811, allocations: 195.9 kB / 1.027 GB, free: 1.043 MB / 0.795 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.000792/0.3819, allocations: 342.9 kB / 1.027 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001702/0.3821, allocations: 93.66 kB / 1.027 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3821, allocations: 0 / 1.027 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.652e-05/0.3821, allocations: 69.69 kB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.3824, allocations: 12.12 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.3828, allocations: 257.2 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.3832, allocations: 0.7118 MB / 1.028 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.3833, allocations: 11.44 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3833, allocations: 0 / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of Templates: time 0.008011/0.3913, allocations: 3.98 MB / 1.032 GB, free: 11.5 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches