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_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 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_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_latest_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_latest_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.0009223/0.0009227, allocations: 92.16 kB / 16.02 MB, free: 80 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.00127/0.00127, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.432/1.432, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.766/2.766, allocations: 462.6 MB / 0.7371 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003877/0.0003878, allocations: 16.19 kB / 0.9035 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3756, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001685/0.3773, allocations: 1.111 MB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003308/0.3807, allocations: 1.813 MB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.408e-05/0.3808, allocations: 0 / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.3809, allocations: 7.922 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.3811, allocations: 31.89 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.3838, allocations: 1.048 MB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.384, allocations: 79.8 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.384, allocations: 3.984 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.999e-05/0.3841, allocations: 31.84 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.02e-05/0.3842, allocations: 35.91 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.3842, allocations: 0 / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.3857, allocations: 0.85 MB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.3859, allocations: 71.75 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.624e-05/0.3859, allocations: 85.14 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.387, allocations: 0.6201 MB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.387, allocations: 0 / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.354e-06/0.387, allocations: 0 / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.387, allocations: 0 / 1.065 GB, free: 15.08 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008134/0.3879, allocations: 0.5607 MB / 1.066 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3879, allocations: 15.97 kB / 1.066 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.388, allocations: 28.56 kB / 1.066 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.3882, allocations: 226.8 kB / 1.066 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.3882, allocations: 384 / 1.066 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.3883, allocations: 4.375 kB / 1.066 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.3884, allocations: 105.8 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3885, allocations: 0 / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3885, allocations: 0 / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3885, allocations: 0 / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.878e-05/0.3886, allocations: 79.91 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.3889, allocations: 277.9 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.3891, allocations: 118.5 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.3892, allocations: 100.9 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.3892, allocations: 19.86 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.3893, allocations: 30.56 kB / 1.067 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 1.423e-06/0.3893, allocations: 0 / 1.067 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=32): time 0.0004527/0.3897, allocations: 338.2 kB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.3898, allocations: 55.44 kB / 1.067 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.3901, allocations: 257 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.3901, allocations: 29.7 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.3902, allocations: 124.7 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.3903, allocations: 102.5 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.3903, allocations: 29.64 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3905, allocations: 338.8 kB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.725e-05/0.3906, allocations: 75.97 kB / 1.068 GB, free: 12 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.988e-05/0.3907, allocations: 71.98 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.3909, allocations: 205.8 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3909, allocations: 0 / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002528/0.3912, allocations: 229.2 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3912, allocations: 4 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.3912, allocations: 4 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3912, allocations: 0 / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.534e-06/0.3912, allocations: 4 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3912, allocations: 0 / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.315e-05/0.3913, allocations: 15.75 kB / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3913, allocations: 0 / 1.068 GB, free: 11.47 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 0.0001391/0.3915, allocations: 157.8 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.3915, allocations: 23.66 kB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.3918, allocations: 252.9 kB / 1.069 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.3918, allocations: 3.984 kB / 1.069 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3918, allocations: 7.938 kB / 1.069 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3918, allocations: 0 / 1.069 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.3921, allocations: 285.8 kB / 1.069 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.3921, allocations: 7.938 kB / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.3921, allocations: 0 / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3921, allocations: 0 / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.3921, allocations: 0 / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3921, allocations: 3.984 kB / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3922, allocations: 0 / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.3924, allocations: 256.8 kB / 1.069 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.3925, allocations: 108.6 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.3925, allocations: 4.031 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.3926, allocations: 0 / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.3926, allocations: 4 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.3926, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001767/0.3928, allocations: 200.4 kB / 1.07 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3928, allocations: 0 / 1.07 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007229/0.3935, allocations: 211.8 kB / 1.07 GB, free: 9.871 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.000958/0.3945, allocations: 340.6 kB / 1.07 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.3948, allocations: 261.6 kB / 1.07 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.3948, allocations: 0 / 1.07 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.395, allocations: 181.6 kB / 1.071 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.3953, allocations: 12.5 kB / 1.071 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008143/0.3961, allocations: 0.6078 MB / 1.071 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.3965, allocations: 0.7713 MB / 1.072 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.3966, allocations: 7.438 kB / 1.072 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of SimCode: time 2.345e-06/0.3966, allocations: 0 / 1.072 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of Templates: time 0.009024/0.4056, allocations: 4.659 MB / 1.076 GB, free: 2.977 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches