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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00265/0.00265, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003462/0.003462, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.741/1.741, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.476/3.476, allocations: 429.5 MB / 0.6729 GB, free: 3.988 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.8775 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.409e-05/3.611e-05, allocations: 3.219 kB / 0.8775 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002815/0.002851, allocations: 1.395 MB / 0.8789 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002143/0.004994, allocations: 1.095 MB / 0.88 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.005025, allocations: 0 / 0.88 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.341e-05/0.005048, allocations: 3.938 kB / 0.88 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.593e-05/0.005114, allocations: 7.922 kB / 0.88 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009725/0.006086, allocations: 221.1 kB / 0.8802 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.689e-05/0.006173, allocations: 35.8 kB / 0.8802 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.374e-05/0.006227, allocations: 7.922 kB / 0.8802 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.006377, allocations: 21.08 kB / 0.8803 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.487e-05/0.006452, allocations: 11.92 kB / 0.8803 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.006471, allocations: 4 kB / 0.8803 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007406/0.007212, allocations: 408.5 kB / 0.8807 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.007227, allocations: 3.984 kB / 0.8807 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.007261, allocations: 12.91 kB / 0.8807 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.007695, allocations: 239.4 kB / 0.8809 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.0077, allocations: 0 / 0.8809 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.864e-06/0.007702, allocations: 0.6562 kB / 0.8809 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.007708, allocations: 0 / 0.8809 GB, free: 3.082 MB / 0.8386 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.0006179/0.008325, allocations: 424.2 kB / 0.8813 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.008366, allocations: 9.094 kB / 0.8813 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.008421, allocations: 12.88 kB / 0.8813 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.008562, allocations: 120.5 kB / 0.8815 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.008579, allocations: 5.125 kB / 0.8815 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.008589, allocations: 384 / 0.8815 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.008702, allocations: 39.47 kB / 0.8815 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.008711, allocations: 192 / 0.8815 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.008724, allocations: 4.375 kB / 0.8815 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.008731, allocations: 4.719 kB / 0.8815 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.617e-05/0.008787, allocations: 8 kB / 0.8815 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.008986, allocations: 121.2 kB / 0.8816 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.009118, allocations: 52.16 kB / 0.8817 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.081e-05/0.009159, allocations: 15.69 kB / 0.8817 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005904/0.00975, allocations: 102 kB / 0.8818 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.009789, allocations: 33.39 kB / 0.8818 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.00979, allocations: 0 / 0.8818 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002049/0.009995, allocations: 57.69 kB / 0.8819 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.01006, allocations: 59.34 kB / 0.8819 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.0102, allocations: 173.8 kB / 0.8821 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.01023, allocations: 25.7 kB / 0.8821 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/0.01031, allocations: 130.9 kB / 0.8822 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.01034, allocations: 11.91 kB / 0.8823 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.01039, allocations: 28.02 kB / 0.8823 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00026/0.01065, allocations: 492.7 kB / 0.8828 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/0.01067, allocations: 4 kB / 0.8828 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.945e-05/0.01069, allocations: 9.531 kB / 0.8828 GB, free: 1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.893e-05/0.01075, allocations: 27.67 kB / 0.8828 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01075, allocations: 0 / 0.8828 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.751e-05/0.01085, allocations: 53.64 kB / 0.8828 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.01086, allocations: 8 kB / 0.8829 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.01087, allocations: 7.938 kB / 0.8829 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.01089, allocations: 336 / 0.8829 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.01101, allocations: 15.94 kB / 0.8829 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.01102, allocations: 3.938 kB / 0.8829 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.567e-05/0.01105, allocations: 3.938 kB / 0.8829 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.01106, allocations: 4 kB / 0.8829 GB, free: 0.8672 MB / 0.8386 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 0.0001204/0.01118, allocations: 164.6 kB / 0.883 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.01119, allocations: 3.984 kB / 0.8831 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.01133, allocations: 64.36 kB / 0.8831 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01133, allocations: 4 kB / 0.8831 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.01134, allocations: 3.938 kB / 0.8831 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01134, allocations: 0 / 0.8831 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.01147, allocations: 120.6 kB / 0.8832 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.01147, allocations: 0 / 0.8832 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.022e-05/0.01155, allocations: 19.92 kB / 0.8833 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.01155, allocations: 0 / 0.8833 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.01156, allocations: 0 / 0.8833 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01156, allocations: 0 / 0.8833 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01156, allocations: 0 / 0.8833 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.0117, allocations: 96.33 kB / 0.8833 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.01171, allocations: 8 kB / 0.8834 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.01173, allocations: 0 / 0.8834 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.204e-05/0.01175, allocations: 0 / 0.8834 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.01177, allocations: 3.984 kB / 0.8834 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.01178, allocations: 7.938 kB / 0.8834 GB, free: 316 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.512e-05/0.01186, allocations: 127.2 kB / 0.8835 GB, free: 188 kB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.01186, allocations: 0 / 0.8835 GB, free: 188 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002441/0.01211, allocations: 47.8 kB / 0.8835 GB, free: 140 kB / 0.8386 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.0003099/0.01242, allocations: 164.7 kB / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.01252, allocations: 31.67 kB / 0.8837 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01253, allocations: 0 / 0.8837 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.459e-05/0.01256, allocations: 19.69 kB / 0.8837 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.01274, allocations: 5.172 kB / 0.8837 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.01312, allocations: 154.1 kB / 0.8839 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.096e-05/0.01319, allocations: 67.28 kB / 0.884 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.01322, allocations: 8 kB / 0.884 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.01325, allocations: 12.5 kB / 0.884 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.01325, allocations: 0 / 0.884 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of Templates: time 0.004992/0.01824, allocations: 1.287 MB / 0.8852 GB, free: 14.39 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 240] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.022038029972464]