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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001058/0.001058, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01006/0.01006, allocations: 170 kB / 16.26 MB, free: 6.613 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005024, allocations: 8 kB / 0.816 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8776/0.8781, allocations: 142.4 MB / 0.9551 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001505/0.8796, allocations: 1.095 MB / 0.9562 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.8813, allocations: 1.103 MB / 0.9572 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.97e-05/0.8814, allocations: 3.938 kB / 0.9572 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.8814, allocations: 0 / 0.9572 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.769e-05/0.8815, allocations: 7.938 kB / 0.9573 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.882, allocations: 147.1 kB / 0.9574 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.856e-05/0.882, allocations: 25.53 kB / 0.9574 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.543e-05/0.8821, allocations: 15.36 kB / 0.9574 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.154e-05/0.8822, allocations: 9.094 kB / 0.9574 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.024e-05/0.8822, allocations: 21.95 kB / 0.9575 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.8823, allocations: 1.844 kB / 0.9575 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005819/0.8828, allocations: 421.1 kB / 0.9579 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.8829, allocations: 5.734 kB / 0.9579 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.8829, allocations: 37.23 kB / 0.9579 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.8832, allocations: 199.3 kB / 0.9581 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8832, allocations: 1.375 kB / 0.9581 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8832, allocations: 0 / 0.9581 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.8832, allocations: 0 / 0.9581 GB, free: 5.516 MB / 0.7169 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.0004045/0.8836, allocations: 383.9 kB / 0.9585 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.8837, allocations: 9.625 kB / 0.9585 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.8837, allocations: 10.2 kB / 0.9585 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.8838, allocations: 163.1 kB / 0.9586 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.8839, allocations: 384 / 0.9586 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.8839, allocations: 3.125 kB / 0.9586 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.884, allocations: 43.5 kB / 0.9587 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.884, allocations: 0 / 0.9587 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.884, allocations: 0 / 0.9587 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.884, allocations: 1.375 kB / 0.9587 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.875e-05/0.8841, allocations: 20.19 kB / 0.9587 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.8842, allocations: 168.4 kB / 0.9589 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/0.8843, allocations: 33.7 kB / 0.9589 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/0.8844, allocations: 19.77 kB / 0.9589 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007101/0.8851, allocations: 0.991 MB / 0.9599 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.8851, allocations: 35.84 kB / 0.9599 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.8851, allocations: 0 / 0.9599 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000176/0.8853, allocations: 63.88 kB / 0.96 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.8853, allocations: 53 kB / 0.96 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.78e-05/0.8854, allocations: 106.3 kB / 0.9601 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.8854, allocations: 25.7 kB / 0.9602 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.8854, allocations: 81.27 kB / 0.9602 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.8855, allocations: 14.09 kB / 0.9602 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.8855, allocations: 14.83 kB / 0.9603 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.8856, allocations: 312 kB / 0.9606 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.8856, allocations: 11.59 kB / 0.9606 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.637e-05/0.8856, allocations: 5.344 kB / 0.9606 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.512e-05/0.8857, allocations: 26.89 kB / 0.9606 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8857, allocations: 0 / 0.9606 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.231e-05/0.8858, allocations: 49.2 kB / 0.9606 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.8858, allocations: 13.11 kB / 0.9607 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.8858, allocations: 7.875 kB / 0.9607 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.8858, allocations: 1.25 kB / 0.9607 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.8859, allocations: 11.44 kB / 0.9607 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.8859, allocations: 0 / 0.9607 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.317e-05/0.886, allocations: 8.969 kB / 0.9607 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.886, allocations: 1.625 kB / 0.9607 GB, free: 2.637 MB / 0.7169 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 5.912e-05/0.886, allocations: 112.2 kB / 0.9608 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.8861, allocations: 8.688 kB / 0.9608 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.8862, allocations: 63.94 kB / 0.9609 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.8862, allocations: 1.031 kB / 0.9609 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.8862, allocations: 0 / 0.9609 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.8862, allocations: 1.188 kB / 0.9609 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.449e-05/0.8863, allocations: 160.3 kB / 0.961 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.8863, allocations: 5.531 kB / 0.961 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.988e-05/0.8864, allocations: 11.03 kB / 0.961 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.8864, allocations: 3.938 kB / 0.961 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.8864, allocations: 9.281 kB / 0.961 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8864, allocations: 0 / 0.961 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.8864, allocations: 1.312 kB / 0.961 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.928e-05/0.8865, allocations: 77.59 kB / 0.9611 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.8865, allocations: 90.22 kB / 0.9612 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.8866, allocations: 4 kB / 0.9612 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.228e-05/0.8866, allocations: 5.281 kB / 0.9612 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.8866, allocations: 1.312 kB / 0.9612 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.8866, allocations: 1.312 kB / 0.9612 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.796e-05/0.8866, allocations: 84.33 kB / 0.9613 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8867, allocations: 1.125 kB / 0.9613 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002351/0.8869, allocations: 43.97 kB / 0.9613 GB, free: 1.953 MB / 0.7169 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.0002393/0.8871, allocations: 153.8 kB / 0.9615 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.8872, allocations: 21.36 kB / 0.9615 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8873, allocations: 0 / 0.9615 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.392e-05/0.8873, allocations: 12.34 kB / 0.9615 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.8875, allocations: 8.859 kB / 0.9615 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.8878, allocations: 181.3 kB / 0.9617 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.888, allocations: 0.6793 MB / 0.9624 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.42e-05/0.888, allocations: 3.484 kB / 0.9624 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.888, allocations: 10.47 kB / 0.9624 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.888, allocations: 0 / 0.9624 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of Templates: time 0.003736/0.8918, allocations: 1.125 MB / 0.9635 GB, free: 420 kB / 0.7169 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 -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/jenkins/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