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.001349/0.001349, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001587/0.001587, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.875/2.875, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 62.28 kB / 0.8985 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3728, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00262/0.3754, allocations: 1.411 MB / 1.054 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.3772, allocations: 1.153 MB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.3772, allocations: 0 / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.3773, allocations: 0 / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-05/0.3773, allocations: 3.938 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.3779, allocations: 155.6 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.456e-05/0.3779, allocations: 35.8 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.378, allocations: 0 / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.11e-05/0.3781, allocations: 11.98 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.3781, allocations: 19.91 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.3781, allocations: 4 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005497/0.3787, allocations: 423.4 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.3787, allocations: 11.94 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.3788, allocations: 15.92 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.3791, allocations: 191.9 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3791, allocations: 0 / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3791, allocations: 4 kB / 1.056 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3791, allocations: 0 / 1.056 GB, free: 5.398 MB / 0.8106 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.0004879/0.3796, allocations: 379.4 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3796, allocations: 12.03 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.3797, allocations: 4.938 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.3798, allocations: 176.2 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.3798, allocations: 384 / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.3799, allocations: 384 / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.38, allocations: 46 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.38, allocations: 0 / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.38, allocations: 3.938 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.38, allocations: 0 / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.668e-05/0.3801, allocations: 11.94 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.3802, allocations: 169.7 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.69e-05/0.3803, allocations: 38.56 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/0.3804, allocations: 20.92 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009595/0.3813, allocations: 0.9856 MB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.3814, allocations: 34.5 kB / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3814, allocations: 0 / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001811/0.3816, allocations: 61.53 kB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.3816, allocations: 51.41 kB / 1.057 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.191e-05/0.3817, allocations: 109.8 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.3817, allocations: 29.7 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.3818, allocations: 84.14 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.3818, allocations: 7.844 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.3818, allocations: 21.7 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.382, allocations: 318.8 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.121e-05/0.382, allocations: 4 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.762e-05/0.382, allocations: 8 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.3821, allocations: 28.78 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3821, allocations: 0 / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.953e-05/0.3822, allocations: 53.59 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.3822, allocations: 11.94 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3822, allocations: 0 / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.3822, allocations: 0 / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3823, allocations: 12 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.3823, allocations: 0 / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/0.3824, allocations: 7.938 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.3824, allocations: 0 / 1.058 GB, free: 2.297 MB / 0.8106 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 7.376e-05/0.3825, allocations: 117.8 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.3825, allocations: 3.938 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.3826, allocations: 61.53 kB / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.3826, allocations: 4 kB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3826, allocations: 0 / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3826, allocations: 0 / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.3828, allocations: 169.5 kB / 1.058 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3828, allocations: 0 / 1.058 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.471e-05/0.3828, allocations: 12 kB / 1.058 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3828, allocations: 7.938 kB / 1.058 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3829, allocations: 4 kB / 1.058 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3829, allocations: 0 / 1.058 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3829, allocations: 0 / 1.058 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.383, allocations: 81.41 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.383, allocations: 85.05 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.3831, allocations: 0 / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.535e-05/0.3831, allocations: 4 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.3831, allocations: 4 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.3831, allocations: 4 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.168e-05/0.3832, allocations: 87.56 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3832, allocations: 0 / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002388/0.3834, allocations: 36 kB / 1.059 GB, free: 1.523 MB / 0.8106 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.000248/0.3837, allocations: 155.1 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.502e-05/0.3838, allocations: 23.92 kB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3838, allocations: 0 / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.045e-05/0.3838, allocations: 12 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.3841, allocations: 16.58 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.3844, allocations: 170.8 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.3846, allocations: 0.6848 MB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.362e-05/0.3847, allocations: 2.812 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.3847, allocations: 11.44 kB / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3847, allocations: 0 / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of Templates: time 0.003577/0.3883, allocations: 1.121 MB / 1.061 GB, free: 15.32 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