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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001549/0.001549, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001554/0.001555, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.415/1.415, allocations: 222.9 MB / 240.6 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.77/2.77, allocations: 469.4 MB / 0.7424 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 69.31 kB / 0.9084 GB, free: 34.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3631, allocations: 159.1 MB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002555/0.3658, allocations: 1.444 MB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002567/0.3683, allocations: 1.79 MB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.3684, allocations: 3.938 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.3685, allocations: 7.984 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.3687, allocations: 31.83 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.3714, allocations: 1.074 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.3715, allocations: 51.78 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.3716, allocations: 8 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.789e-05/0.3717, allocations: 27.91 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.954e-05/0.3717, allocations: 43.83 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.3718, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.3728, allocations: 0.8501 MB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.939e-05/0.3729, allocations: 71.75 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.3729, allocations: 63.44 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006541/0.3736, allocations: 0.6007 MB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3736, allocations: 0 / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3736, allocations: 0 / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.3736, allocations: 0 / 1.07 GB, free: 8.77 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.0006295/0.3743, allocations: 0.58 MB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3743, allocations: 16.03 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.3744, allocations: 24.64 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.3746, allocations: 218.8 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.3746, allocations: 384 / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.3746, allocations: 384 / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.3748, allocations: 109.8 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3748, allocations: 0 / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3748, allocations: 0 / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3748, allocations: 3.938 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.607e-05/0.3749, allocations: 75.97 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002507/0.3751, allocations: 281.8 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.3753, allocations: 118.5 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.266e-05/0.3754, allocations: 108.9 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.3754, allocations: 3.938 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.3754, allocations: 38.5 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 1.323e-06/0.3754, allocations: 0 / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of matching and sorting (n=32): time 0.0003899/0.3758, allocations: 346.3 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.3759, allocations: 51.41 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.3761, allocations: 253 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.3761, allocations: 25.7 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.3762, allocations: 128.7 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.184e-05/0.3763, allocations: 102.5 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.3763, allocations: 29.7 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3765, allocations: 338.8 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.428e-05/0.3765, allocations: 83.94 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.086e-05/0.3766, allocations: 75.97 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.3768, allocations: 201.8 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3768, allocations: 0 / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002123/0.377, allocations: 229.2 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.377, allocations: 4 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.377, allocations: 0 / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.377, allocations: 0 / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.3771, allocations: 0 / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3771, allocations: 0 / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.3771, allocations: 15.91 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.3771, allocations: 0 / 1.073 GB, free: 5.145 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.0001191/0.3772, allocations: 157.8 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.3773, allocations: 31.62 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.3776, allocations: 256.3 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3776, allocations: 0 / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3776, allocations: 4.031 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3776, allocations: 0 / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.3778, allocations: 281.8 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.3778, allocations: 7.922 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.3778, allocations: 0 / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3778, allocations: 0 / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.3778, allocations: 8 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.3778, allocations: 0 / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3778, allocations: 0 / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.3781, allocations: 264.8 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.3782, allocations: 104.6 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.3782, allocations: 4 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.429e-05/0.3782, allocations: 3.938 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.3782, allocations: 0 / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.3783, allocations: 0 / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001492/0.3784, allocations: 192.4 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3784, allocations: 3.938 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005296/0.3789, allocations: 207.9 kB / 1.074 GB, free: 3.547 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.0007239/0.3797, allocations: 342.9 kB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002815/0.38, allocations: 265.6 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.38, allocations: 0 / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.3801, allocations: 177.6 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.3804, allocations: 22.17 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006998/0.3811, allocations: 0.6051 MB / 1.076 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.3814, allocations: 0.7632 MB / 1.077 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.485e-05/0.3814, allocations: 11.44 kB / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3814, allocations: 0 / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of Templates: time 0.006982/0.3884, allocations: 4.686 MB / 1.081 GB, free: 12.62 MB / 0.8419 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