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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.001126/0.001126, allocations: 108 kB / 15.6 MB, free: 128 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.001274/0.001274, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.8/2.8, allocations: 472.6 MB / 0.7452 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67 kB / 0.9121 GB, free: 33.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3734, allocations: 159.9 MB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00262/0.3761, allocations: 1.356 MB / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.3777, allocations: 1.088 MB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.3778, allocations: 0 / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.3778, allocations: 0 / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.372e-05/0.3779, allocations: 15.86 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006148/0.3785, allocations: 219.2 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.114e-05/0.3786, allocations: 35.8 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.3786, allocations: 0 / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.714e-05/0.3787, allocations: 11.98 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.943e-05/0.3788, allocations: 15.92 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.3788, allocations: 4 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005945/0.3794, allocations: 423.5 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.3794, allocations: 7.938 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.09e-05/0.3794, allocations: 15.92 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.3797, allocations: 195.9 kB / 1.072 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3797, allocations: 0 / 1.072 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.427e-06/0.3798, allocations: 0 / 1.072 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3798, allocations: 3.938 kB / 1.072 GB, free: 6.926 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004552/0.3802, allocations: 387.3 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3803, allocations: 8.031 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.3803, allocations: 8.844 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.3804, allocations: 168.4 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3805, allocations: 384 / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.3805, allocations: 4.375 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.3806, allocations: 42 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.3806, allocations: 0 / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3806, allocations: 3.938 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3806, allocations: 4 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.42e-05/0.3807, allocations: 8 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.3808, allocations: 169.6 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.396e-05/0.3809, allocations: 34.58 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.381, allocations: 20.86 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009621/0.382, allocations: 0.9856 MB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.382, allocations: 42.5 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.382, allocations: 0 / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001604/0.3822, allocations: 61.52 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.3822, allocations: 55.41 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.351e-05/0.3823, allocations: 117.8 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.3823, allocations: 25.7 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.3823, allocations: 84.14 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.3824, allocations: 15.75 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.3824, allocations: 17.7 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.3825, allocations: 314.8 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.237e-05/0.3825, allocations: 8 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/0.3826, allocations: 7.984 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.484e-05/0.3826, allocations: 20.86 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3826, allocations: 4 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.734e-05/0.3827, allocations: 49.62 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3827, allocations: 11.94 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3827, allocations: 4 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3828, allocations: 0 / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.3829, allocations: 12 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3829, allocations: 0 / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.3829, allocations: 0 / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3829, allocations: 7.984 kB / 1.074 GB, free: 3.812 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 (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 6.728e-05/0.383, allocations: 113.8 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.383, allocations: 7.844 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.3831, allocations: 65.53 kB / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3832, allocations: 0 / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3832, allocations: 0 / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3832, allocations: 0 / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.3833, allocations: 165.6 kB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3833, allocations: 0 / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.288e-05/0.3834, allocations: 12 kB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3834, allocations: 7.938 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.3834, allocations: 0 / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3834, allocations: 0 / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3835, allocations: 3.984 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.3836, allocations: 73.12 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.3836, allocations: 92.89 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.3836, allocations: 0 / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.22e-05/0.3837, allocations: 0 / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.3837, allocations: 8 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.3837, allocations: 7.938 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.3837, allocations: 83.27 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3837, allocations: 0 / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002335/0.384, allocations: 47.94 kB / 1.075 GB, free: 3.027 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 (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.0002414/0.3842, allocations: 144.3 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.965e-05/0.3843, allocations: 28.41 kB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3843, allocations: 0 / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.108e-05/0.3844, allocations: 15.94 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.3846, allocations: 15.92 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.3849, allocations: 140.4 kB / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.3852, allocations: 0.6846 MB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.223e-05/0.3852, allocations: 5.953 kB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.3852, allocations: 15.42 kB / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3852, allocations: 0 / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of Templates: time 0.00346/0.3887, allocations: 1.13 MB / 1.077 GB, free: 0.8477 MB / 0.8262 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/jenkins/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