Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001556/0.001557, allocations: 103.6 kB / 16.35 MB, free: 6.289 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.001664/0.001665, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.14 kB / 0.8141 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3064, allocations: 140.4 MB / 0.9512 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002416/0.3089, allocations: 1.345 MB / 0.9525 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.3106, allocations: 1.089 MB / 0.9536 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.3106, allocations: 0 / 0.9536 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.3107, allocations: 7.922 kB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.083e-05/0.3107, allocations: 7.922 kB / 0.9536 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000637/0.3114, allocations: 215.2 kB / 0.9538 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.624e-05/0.3115, allocations: 31.86 kB / 0.9538 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.3115, allocations: 0 / 0.9538 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.068e-05/0.3116, allocations: 15.94 kB / 0.9538 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.126e-05/0.3117, allocations: 11.92 kB / 0.9538 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.3117, allocations: 4 kB / 0.9538 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005783/0.3123, allocations: 439.4 kB / 0.9543 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.3123, allocations: 0 / 0.9543 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.3123, allocations: 11.94 kB / 0.9543 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.3126, allocations: 199.6 kB / 0.9545 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3126, allocations: 0 / 0.9545 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3126, allocations: 7.875 kB / 0.9545 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3127, allocations: 0 / 0.9545 GB, free: 4.605 MB / 0.7325 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.0004575/0.3131, allocations: 384.4 kB / 0.9548 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3132, allocations: 8.031 kB / 0.9548 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.3132, allocations: 8.938 kB / 0.9549 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.3133, allocations: 168.3 kB / 0.955 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3133, allocations: 4.375 kB / 0.955 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.3134, allocations: 4.375 kB / 0.955 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.3135, allocations: 38 kB / 0.9551 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.3135, allocations: 3.938 kB / 0.9551 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3135, allocations: 4 kB / 0.9551 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3135, allocations: 0 / 0.9551 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.838e-05/0.3136, allocations: 15.98 kB / 0.9551 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.3137, allocations: 153.7 kB / 0.9552 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.164e-05/0.3138, allocations: 46.61 kB / 0.9553 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.991e-05/0.3139, allocations: 16.88 kB / 0.9553 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009258/0.3148, allocations: 0.9934 MB / 0.9563 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.3148, allocations: 42.44 kB / 0.9563 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3148, allocations: 0 / 0.9563 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001631/0.315, allocations: 57.69 kB / 0.9564 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.3151, allocations: 51.41 kB / 0.9564 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.942e-05/0.3151, allocations: 109.8 kB / 0.9565 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.3152, allocations: 29.7 kB / 0.9565 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.3152, allocations: 80.14 kB / 0.9566 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.3152, allocations: 19.75 kB / 0.9566 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.3153, allocations: 17.72 kB / 0.9566 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.826e-05/0.3154, allocations: 314.8 kB / 0.9569 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.952e-05/0.3154, allocations: 4 kB / 0.957 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/0.3154, allocations: 8 kB / 0.957 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.44e-05/0.3155, allocations: 28.73 kB / 0.957 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3155, allocations: 4 kB / 0.957 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.114e-05/0.3156, allocations: 53.59 kB / 0.957 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3156, allocations: 7.938 kB / 0.957 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3156, allocations: 0 / 0.957 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3156, allocations: 0 / 0.957 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.3157, allocations: 15.98 kB / 0.9571 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3157, allocations: 0 / 0.9571 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.225e-05/0.3158, allocations: 0 / 0.9571 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3158, allocations: 4 kB / 0.9571 GB, free: 1.5 MB / 0.7325 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.672e-05/0.3159, allocations: 117.8 kB / 0.9572 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.3159, allocations: 7.938 kB / 0.9572 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.316, allocations: 64.25 kB / 0.9572 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.316, allocations: 3.938 kB / 0.9573 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.316, allocations: 0 / 0.9573 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.316, allocations: 0 / 0.9573 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.3161, allocations: 157.7 kB / 0.9574 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3162, allocations: 0 / 0.9574 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.474e-05/0.3162, allocations: 15.98 kB / 0.9574 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.3162, allocations: 3.938 kB / 0.9574 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3163, allocations: 4 kB / 0.9574 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3163, allocations: 0 / 0.9574 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3163, allocations: 4 kB / 0.9574 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.744e-05/0.3164, allocations: 84.97 kB / 0.9575 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.3164, allocations: 81.47 kB / 0.9576 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.3164, allocations: 0 / 0.9576 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.382e-05/0.3165, allocations: 3.984 kB / 0.9576 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.3165, allocations: 4 kB / 0.9576 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.3165, allocations: 4 kB / 0.9576 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.116e-05/0.3165, allocations: 83.28 kB / 0.9577 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3165, allocations: 0 / 0.9577 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002312/0.3168, allocations: 43.98 kB / 0.9577 GB, free: 0.7227 MB / 0.7325 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.0002491/0.317, allocations: 155.1 kB / 0.9579 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.4e-05/0.3171, allocations: 27.86 kB / 0.9579 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3171, allocations: 0 / 0.9579 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.083e-05/0.3172, allocations: 12 kB / 0.9579 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.3174, allocations: 8 kB / 0.9579 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.3177, allocations: 152.2 kB / 0.9581 GB, free: 352 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.318, allocations: 0.6844 MB / 0.9587 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.955e-05/0.318, allocations: 4 kB / 0.9587 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.318, allocations: 11.44 kB / 0.9587 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.318, allocations: 0 / 0.9587 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of Templates: time 0.6235/0.9415, allocations: 1.136 MB / 0.9599 GB, free: 14.54 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches