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.008715/0.008715, allocations: 102.1 kB / 15.73 MB, free: 6.469 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.001675/0.001675, allocations: 194 kB / 16.67 MB, free: 6.379 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.812/2.812, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 64.11 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3563, allocations: 157.4 MB / 1.208 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002353/0.3587, allocations: 1.363 MB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.3603, allocations: 1.091 MB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.3603, allocations: 0 / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.3603, allocations: 7.922 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.929e-05/0.3604, allocations: 7.938 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005824/0.361, allocations: 213.9 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.799e-05/0.3611, allocations: 27.86 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.3611, allocations: 11.98 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.406e-05/0.3612, allocations: 11.94 kB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.3613, allocations: 23.92 kB / 1.21 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.3613, allocations: 0 / 1.21 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005433/0.3618, allocations: 427.4 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.3619, allocations: 0 / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.3619, allocations: 19.88 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.3622, allocations: 199.5 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3622, allocations: 0 / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3622, allocations: 0 / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3622, allocations: 0 / 1.211 GB, free: 6.156 MB / 0.9669 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.0004164/0.3626, allocations: 391.3 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3627, allocations: 12.62 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.3627, allocations: 8.844 kB / 1.212 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.963e-05/0.3628, allocations: 164.4 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.3628, allocations: 384 / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.3628, allocations: 384 / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.778e-05/0.3629, allocations: 49.94 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.363, allocations: 0 / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.363, allocations: 0 / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.363, allocations: 0 / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.461e-05/0.363, allocations: 15.98 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.3632, allocations: 161.6 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.429e-05/0.3633, allocations: 42.61 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.3633, allocations: 12.89 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008852/0.3642, allocations: 0.9856 MB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.3642, allocations: 46.42 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 2.515e-06/0.3643, allocations: 0 / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001737/0.3644, allocations: 57.62 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.3645, allocations: 55.41 kB / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.561e-05/0.3645, allocations: 101.9 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.3646, allocations: 25.7 kB / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.3646, allocations: 92.12 kB / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.3647, allocations: 15.73 kB / 1.213 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.3647, allocations: 17.72 kB / 1.213 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.3648, allocations: 314.8 kB / 1.214 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.3648, allocations: 4 kB / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.779e-05/0.3648, allocations: 20.12 kB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.396e-05/0.3649, allocations: 20.94 kB / 1.214 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3649, allocations: 0 / 1.214 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.54e-05/0.365, allocations: 49.69 kB / 1.214 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.365, allocations: 7.938 kB / 1.214 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.365, allocations: 4 kB / 1.214 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.365, allocations: 0 / 1.214 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.3651, allocations: 15.98 kB / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3651, allocations: 0 / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.04e-05/0.3652, allocations: 0 / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.3652, allocations: 4 kB / 1.214 GB, free: 3.051 MB / 0.9669 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.412e-05/0.3652, allocations: 117.8 kB / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.3653, allocations: 11.78 kB / 1.214 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.3654, allocations: 61.58 kB / 1.214 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3654, allocations: 0 / 1.214 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3654, allocations: 4 kB / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3654, allocations: 0 / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.595e-05/0.3655, allocations: 153.7 kB / 1.214 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3655, allocations: 4 kB / 1.214 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-05/0.3656, allocations: 15.98 kB / 1.214 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.3656, allocations: 11.94 kB / 1.214 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.3656, allocations: 0 / 1.214 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3656, allocations: 0 / 1.214 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3656, allocations: 3.938 kB / 1.214 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.456e-05/0.3657, allocations: 73.12 kB / 1.214 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.3658, allocations: 88.95 kB / 1.214 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.3658, allocations: 0 / 1.214 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.037e-05/0.3658, allocations: 7.938 kB / 1.214 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.3658, allocations: 3.984 kB / 1.214 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.3658, allocations: 4 kB / 1.214 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.692e-05/0.3659, allocations: 83.28 kB / 1.214 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3659, allocations: 0 / 1.214 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002153/0.3661, allocations: 39.92 kB / 1.214 GB, free: 2.27 MB / 0.9669 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.0002312/0.3663, allocations: 155.2 kB / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.583e-05/0.3665, allocations: 23.94 kB / 1.215 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3665, allocations: 0 / 1.215 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.997e-05/0.3665, allocations: 11.98 kB / 1.215 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.3667, allocations: 4 kB / 1.215 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.367, allocations: 164.2 kB / 1.215 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.3672, allocations: 0.6807 MB / 1.215 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.251e-05/0.3672, allocations: 10.14 kB / 1.215 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.3673, allocations: 11.44 kB / 1.215 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of SimCode: time 2e-07/0.3673, allocations: 0 / 1.215 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of Templates: time 0.003363/0.3706, allocations: 1.145 MB / 1.217 GB, free: 68 kB / 0.9669 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