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.00917/0.00917, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.001502/0.001502, allocations: 187 kB / 16.67 MB, free: 5.922 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.693/2.693, allocations: 472.6 MB / 0.7453 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.91 kB / 1.07 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9773/0.9786, allocations: 159.9 MB / 1.226 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002826/0.9815, allocations: 1.358 MB / 1.227 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001896/0.9834, allocations: 1.095 MB / 1.228 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.9835, allocations: 0 / 1.228 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.9835, allocations: 3.984 kB / 1.228 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.048e-05/0.9836, allocations: 7.875 kB / 1.228 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000654/0.9843, allocations: 219.2 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.673e-05/0.9844, allocations: 35.84 kB / 1.228 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.9844, allocations: 0 / 1.228 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.158e-05/0.9845, allocations: 11.94 kB / 1.228 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.781e-05/0.9846, allocations: 15.92 kB / 1.228 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.9846, allocations: 4 kB / 1.228 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006392/0.9852, allocations: 427.5 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.9853, allocations: 4 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.9853, allocations: 15.88 kB / 1.229 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.9856, allocations: 200.4 kB / 1.229 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.9856, allocations: 0 / 1.229 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9857, allocations: 3.938 kB / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.9857, allocations: 0 / 1.229 GB, free: 10.28 MB / 0.9512 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.0004979/0.9862, allocations: 397.4 kB / 1.229 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.9862, allocations: 11.97 kB / 1.229 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.9863, allocations: 4.938 kB / 1.229 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.9864, allocations: 168.3 kB / 1.23 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.9864, allocations: 384 / 1.23 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.9864, allocations: 4.375 kB / 1.23 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.9865, allocations: 42 kB / 1.23 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.9866, allocations: 0 / 1.23 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.9866, allocations: 4 kB / 1.23 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.9866, allocations: 0 / 1.23 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.945e-05/0.9866, allocations: 11.98 kB / 1.23 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.9868, allocations: 157.7 kB / 1.23 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.9869, allocations: 46.55 kB / 1.23 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.987, allocations: 16.89 kB / 1.23 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/0.988, allocations: 0.9856 MB / 1.231 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.9881, allocations: 42.48 kB / 1.231 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.9881, allocations: 3.938 kB / 1.231 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.000178/0.9883, allocations: 61.58 kB / 1.231 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.9883, allocations: 51.41 kB / 1.231 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.609e-05/0.9884, allocations: 101.9 kB / 1.231 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.9885, allocations: 29.7 kB / 1.231 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.9885, allocations: 92.11 kB / 1.231 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.9886, allocations: 15.84 kB / 1.231 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.9886, allocations: 17.72 kB / 1.231 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.9887, allocations: 314.8 kB / 1.231 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/0.9888, allocations: 8 kB / 1.231 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.537e-05/0.9888, allocations: 4.188 kB / 1.231 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.729e-05/0.9888, allocations: 24.94 kB / 1.232 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.9888, allocations: 0 / 1.232 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.463e-05/0.9889, allocations: 57.62 kB / 1.232 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.989, allocations: 9.188 kB / 1.232 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.989, allocations: 0 / 1.232 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.989, allocations: 0 / 1.232 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.9891, allocations: 15.98 kB / 1.232 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.9891, allocations: 4 kB / 1.232 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/0.9892, allocations: 0 / 1.232 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.9892, allocations: 8 kB / 1.232 GB, free: 7.164 MB / 0.9512 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 8.003e-05/0.9893, allocations: 106.4 kB / 1.232 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.9893, allocations: 15.89 kB / 1.232 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.9894, allocations: 67.62 kB / 1.232 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.9894, allocations: 3.938 kB / 1.232 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9895, allocations: 0 / 1.232 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.9895, allocations: 0 / 1.232 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.9896, allocations: 157.7 kB / 1.232 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.9896, allocations: 0 / 1.232 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.039e-05/0.9897, allocations: 15.98 kB / 1.232 GB, free: 6.734 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.9897, allocations: 3.938 kB / 1.232 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.9897, allocations: 0 / 1.232 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.9897, allocations: 4 kB / 1.232 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9897, allocations: 4 kB / 1.232 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.9898, allocations: 73.12 kB / 1.232 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.9899, allocations: 85 kB / 1.232 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.9899, allocations: 3.938 kB / 1.232 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.276e-05/0.9899, allocations: 0 / 1.232 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.99, allocations: 15.92 kB / 1.232 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.99, allocations: 0 / 1.232 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.99, allocations: 91.58 kB / 1.232 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.99, allocations: 0 / 1.232 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002354/0.9903, allocations: 47.8 kB / 1.232 GB, free: 6.375 MB / 0.9512 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.0002706/0.9905, allocations: 147.1 kB / 1.232 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.9907, allocations: 20 kB / 1.232 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9907, allocations: 0 / 1.232 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.288e-05/0.9907, allocations: 15.92 kB / 1.232 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.9909, allocations: 12 kB / 1.232 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.9913, allocations: 156 kB / 1.233 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.9915, allocations: 0.6768 MB / 1.233 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.771e-05/0.9916, allocations: 8.312 kB / 1.233 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.9916, allocations: 11.44 kB / 1.233 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of SimCode: time 3.8e-07/0.9916, allocations: 4 kB / 1.233 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of Templates: time 0.003547/0.9951, allocations: 1.145 MB / 1.234 GB, free: 4.18 MB / 0.9512 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