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.ConvectionResistanceCircularPipe.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.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 107.1 kB / 16.27 MB, free: 5.895 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.001631/0.001631, allocations: 188.3 kB / 17.19 MB, free: 5.535 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.455/1.455, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 469.4 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 64.33 kB / 0.9089 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3793, allocations: 159.1 MB / 1.064 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003866/0.3832, allocations: 1.358 MB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002288/0.3855, allocations: 1.09 MB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.3856, allocations: 0 / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.3857, allocations: 0 / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.839e-05/0.3858, allocations: 7.922 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.3869, allocations: 224 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.947e-05/0.387, allocations: 31.8 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.736e-05/0.3871, allocations: 4 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.3872, allocations: 15.92 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.49e-05/0.3873, allocations: 11.94 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.3873, allocations: 0 / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008314/0.3882, allocations: 427.5 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.3882, allocations: 11.94 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.3883, allocations: 11.94 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005033/0.3888, allocations: 199.9 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.3888, allocations: 0 / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3888, allocations: 0 / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.3888, allocations: 0 / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006592/0.3895, allocations: 383.3 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.3895, allocations: 12.62 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.3896, allocations: 4.844 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.3898, allocations: 168.3 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.3898, allocations: 4.375 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.3898, allocations: 384 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.39, allocations: 46 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.39, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.39, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.39, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.936e-05/0.3901, allocations: 15.92 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000241/0.3903, allocations: 165.7 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.3905, allocations: 50.48 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.3905, allocations: 16.89 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/0.3916, allocations: 0.9895 MB / 1.069 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/0.3917, allocations: 34.5 kB / 1.069 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.3917, allocations: 0 / 1.069 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002299/0.3919, allocations: 57.59 kB / 1.069 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.392, allocations: 55.34 kB / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.763e-05/0.3921, allocations: 105.8 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.3921, allocations: 25.7 kB / 1.07 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.3922, allocations: 92.14 kB / 1.07 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.3922, allocations: 7.844 kB / 1.07 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.3922, allocations: 17.72 kB / 1.07 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3924, allocations: 322.8 kB / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/0.3924, allocations: 4 kB / 1.07 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.67e-05/0.3925, allocations: 4 kB / 1.07 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.66e-05/0.3925, allocations: 17.14 kB / 1.07 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3925, allocations: 0 / 1.07 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.633e-05/0.3926, allocations: 65.52 kB / 1.07 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3926, allocations: 9.812 kB / 1.07 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3927, allocations: 4 kB / 1.07 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.3927, allocations: 0 / 1.07 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.3928, allocations: 15.98 kB / 1.07 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3928, allocations: 0 / 1.07 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.639e-05/0.3929, allocations: 4 kB / 1.07 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.3929, allocations: 0 / 1.07 GB, free: 8.449 MB / 0.8419 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.192e-05/0.393, allocations: 109.8 kB / 1.07 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.393, allocations: 7.938 kB / 1.07 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.3931, allocations: 67.59 kB / 1.07 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3932, allocations: 3.938 kB / 1.07 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3932, allocations: 4 kB / 1.07 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3932, allocations: 0 / 1.07 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.3933, allocations: 153.7 kB / 1.071 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.3933, allocations: 8 kB / 1.071 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-05/0.3934, allocations: 11.98 kB / 1.071 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.3934, allocations: 7.938 kB / 1.071 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3935, allocations: 7.938 kB / 1.071 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3935, allocations: 4 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3935, allocations: 0 / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.3936, allocations: 69.12 kB / 1.071 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.3936, allocations: 88.95 kB / 1.071 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.3937, allocations: 7.938 kB / 1.071 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.361e-05/0.3937, allocations: 3.984 kB / 1.071 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.3937, allocations: 0 / 1.071 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.3937, allocations: 4 kB / 1.071 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.275e-05/0.3938, allocations: 87.22 kB / 1.071 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3938, allocations: 0 / 1.071 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002468/0.394, allocations: 47.92 kB / 1.071 GB, free: 7.664 MB / 0.8419 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002529/0.3943, allocations: 147.7 kB / 1.071 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.747e-05/0.3944, allocations: 19.98 kB / 1.071 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3944, allocations: 0 / 1.071 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.216e-05/0.3944, allocations: 11.94 kB / 1.071 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.3947, allocations: 16.53 kB / 1.071 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.3951, allocations: 173.9 kB / 1.071 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.3953, allocations: 0.6768 MB / 1.072 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.276e-05/0.3953, allocations: 11.44 kB / 1.072 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3953, allocations: 4 kB / 1.072 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of Templates: time 0.002535/0.3979, allocations: 1.039 MB / 1.073 GB, free: 5.512 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches