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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 108.2 kB / 16.41 MB, free: 6.5 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.001693/0.001693, allocations: 192.3 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.115/2.115, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.817/3.817, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 71.88 kB / 1.055 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7764/0.7781, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002346/0.7805, allocations: 1.444 MB / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003635/0.7841, allocations: 2.891 MB / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.7842, allocations: 0 / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.7842, allocations: 7.922 kB / 1.213 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.442e-05/0.7843, allocations: 15.86 kB / 1.213 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003094/0.7874, allocations: 1.593 MB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.578e-05/0.7874, allocations: 43.73 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.49e-05/0.7875, allocations: 0 / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.55e-05/0.7875, allocations: 15.92 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.51e-05/0.7875, allocations: 19.86 kB / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.7876, allocations: 4 kB / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.7893, allocations: 1.537 MB / 1.216 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.7894, allocations: 0 / 1.216 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.7894, allocations: 19.86 kB / 1.216 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.7905, allocations: 1.117 MB / 1.217 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7905, allocations: 0 / 1.217 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7906, allocations: 0 / 1.217 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.7906, allocations: 0 / 1.217 GB, free: 4.934 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005089/0.7911, allocations: 0.5107 MB / 1.217 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.7911, allocations: 8.031 kB / 1.217 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.7912, allocations: 84.22 kB / 1.218 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.7913, allocations: 259.4 kB / 1.218 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.7914, allocations: 154.9 kB / 1.218 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.7914, allocations: 150.9 kB / 1.218 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.106e-05/0.7915, allocations: 105.1 kB / 1.218 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.7915, allocations: 79.28 kB / 1.218 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.17e-05/0.7915, allocations: 154.6 kB / 1.218 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/0.7916, allocations: 154.5 kB / 1.219 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.464e-05/0.7916, allocations: 154.5 kB / 1.219 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.7919, allocations: 465.8 kB / 1.219 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.29e-05/0.7919, allocations: 173.1 kB / 1.219 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.705e-05/0.792, allocations: 80.14 kB / 1.219 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.792, allocations: 75.28 kB / 1.219 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.7921, allocations: 117.8 kB / 1.22 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.7921, allocations: 0 / 1.22 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 6.288e-05/0.7921, allocations: 29.64 kB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.7922, allocations: 51.41 kB / 1.22 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.7923, allocations: 147.6 kB / 1.22 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.7923, allocations: 25.7 kB / 1.22 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.7923, allocations: 92.14 kB / 1.22 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.7924, allocations: 4 kB / 1.22 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.7924, allocations: 17.72 kB / 1.22 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.749e-05/0.7925, allocations: 318.8 kB / 1.22 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/0.7925, allocations: 4 kB / 1.22 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.392e-05/0.7925, allocations: 4 kB / 1.22 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.78e-05/0.7926, allocations: 20.89 kB / 1.22 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.7926, allocations: 0 / 1.22 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001145/0.7927, allocations: 57.47 kB / 1.22 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.7927, allocations: 8 kB / 1.22 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.7927, allocations: 0 / 1.22 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.7928, allocations: 4 kB / 1.22 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.7928, allocations: 0 / 1.22 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.7928, allocations: 0 / 1.22 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.956e-05/0.7928, allocations: 3.938 kB / 1.22 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.7928, allocations: 0 / 1.22 GB, free: 1.25 MB / 0.9356 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 8.075e-05/0.7929, allocations: 200.4 kB / 1.221 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.7929, allocations: 112.8 kB / 1.221 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.793, allocations: 112.8 kB / 1.221 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.807e-05/0.793, allocations: 180.3 kB / 1.221 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.888e-05/0.7931, allocations: 108.9 kB / 1.221 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.7931, allocations: 190.1 kB / 1.221 GB, free: 308 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.4e-05/0.7932, allocations: 176.3 kB / 1.221 GB, free: 124 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.7933, allocations: 108.9 kB / 1.221 GB, free: 8 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.7934, allocations: 176.3 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.444e-05/0.7934, allocations: 263.4 kB / 1.222 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001266/0.7936, allocations: 387 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.911e-05/0.7936, allocations: 109 kB / 1.222 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.325e-05/0.7937, allocations: 105.1 kB / 1.222 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of Backend: time 1.61e-07/0.7937, allocations: 0 / 1.222 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.795, allocations: 0.518 MB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006083/0.7956, allocations: 0.9129 MB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of Templates: time 0.2233/1.019, allocations: 6.398 MB / 1.23 GB, free: 7.102 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches