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.001625/0.001625, allocations: 84.73 kB / 19.44 MB, free: 360 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.001725/0.001725, allocations: 161.7 kB / 22.76 MB, free: 1.684 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.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.297/3.297, allocations: 429.6 MB / 0.673 GB, free: 3.875 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 1.913e-06/1.913e-06, allocations: 0 / 0.8777 GB, free: 6.398 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.191e-05/3.382e-05, allocations: 6.25 kB / 0.8777 GB, free: 6.391 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003174/0.003208, allocations: 1.383 MB / 0.879 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002241/0.005449, allocations: 1.044 MB / 0.8801 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.005488, allocations: 1.094 kB / 0.8801 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.005517, allocations: 7.922 kB / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.314e-05/0.005591, allocations: 8.734 kB / 0.8801 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008881/0.006479, allocations: 223.6 kB / 0.8803 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.54e-05/0.006574, allocations: 31.86 kB / 0.8803 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.006618, allocations: 7.922 kB / 0.8803 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.006778, allocations: 27.86 kB / 0.8804 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.006857, allocations: 15.97 kB / 0.8804 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.006874, allocations: 4 kB / 0.8804 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000802/0.007676, allocations: 399.4 kB / 0.8808 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.007695, allocations: 3.938 kB / 0.8808 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.007736, allocations: 12.62 kB / 0.8808 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006349/0.008371, allocations: 247.9 kB / 0.881 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.008375, allocations: 0 / 0.881 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.008376, allocations: 0.5938 kB / 0.881 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.00838, allocations: 0 / 0.881 GB, free: 3.012 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.0006314/0.009012, allocations: 314.8 kB / 0.8813 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.009059, allocations: 8.031 kB / 0.8813 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.009128, allocations: 14.36 kB / 0.8813 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.009276, allocations: 113.7 kB / 0.8814 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.009292, allocations: 4.375 kB / 0.8814 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.009302, allocations: 384 / 0.8814 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.009439, allocations: 46.25 kB / 0.8815 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.009448, allocations: 192 / 0.8815 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.009459, allocations: 384 / 0.8815 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.009467, allocations: 3.938 kB / 0.8815 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.926e-05/0.009527, allocations: 12 kB / 0.8815 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.009731, allocations: 113.3 kB / 0.8816 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.009849, allocations: 38.5 kB / 0.8816 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.009887, allocations: 12.89 kB / 0.8817 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006541/0.01054, allocations: 99.95 kB / 0.8818 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.01058, allocations: 34.56 kB / 0.8818 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.01058, allocations: 0 / 0.8818 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.000234/0.01082, allocations: 61.62 kB / 0.8818 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.01087, allocations: 55.34 kB / 0.8819 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.01098, allocations: 109.8 kB / 0.882 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.01101, allocations: 25.7 kB / 0.882 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.259e-05/0.01108, allocations: 88.14 kB / 0.8821 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.01111, allocations: 11.84 kB / 0.8821 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.01116, allocations: 17.72 kB / 0.8821 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.01134, allocations: 318.8 kB / 0.8824 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.359e-05/0.01136, allocations: 4 kB / 0.8825 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.163e-05/0.01139, allocations: 8 kB / 0.8825 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.769e-05/0.01144, allocations: 20.84 kB / 0.8825 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01145, allocations: 0 / 0.8825 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001119/0.01156, allocations: 57.59 kB / 0.8825 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.01157, allocations: 12 kB / 0.8825 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.01158, allocations: 0 / 0.8825 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.0116, allocations: 0 / 0.8825 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.01173, allocations: 15.98 kB / 0.8826 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.01174, allocations: 3.938 kB / 0.8826 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.01177, allocations: 3.938 kB / 0.8826 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.01178, allocations: 4 kB / 0.8826 GB, free: 1.242 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.0001/0.01188, allocations: 109.8 kB / 0.8827 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.01189, allocations: 4 kB / 0.8827 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.01206, allocations: 65.61 kB / 0.8827 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.01207, allocations: 4 kB / 0.8827 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.01207, allocations: 3.938 kB / 0.8827 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.01208, allocations: 0 / 0.8827 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.01221, allocations: 113.3 kB / 0.8829 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01221, allocations: 0 / 0.8829 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.466e-05/0.0123, allocations: 12 kB / 0.8829 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.0123, allocations: 0 / 0.8829 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.01231, allocations: 0 / 0.8829 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.01231, allocations: 4 kB / 0.8829 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.01231, allocations: 4.359 kB / 0.8829 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.01245, allocations: 89 kB / 0.883 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.01246, allocations: 4 kB / 0.883 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.01248, allocations: 0 / 0.883 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.452e-05/0.0125, allocations: 3.938 kB / 0.883 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.01252, allocations: 0 / 0.883 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.01253, allocations: 7.938 kB / 0.883 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.697e-05/0.01259, allocations: 87.27 kB / 0.8831 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01259, allocations: 0 / 0.8831 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002876/0.01288, allocations: 47.75 kB / 0.8831 GB, free: 0.6289 MB / 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.0003547/0.01324, allocations: 168.8 kB / 0.8833 GB, free: 464 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.01335, allocations: 16 kB / 0.8833 GB, free: 448 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.01335, allocations: 4 kB / 0.8833 GB, free: 444 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.721e-05/0.01338, allocations: 11.92 kB / 0.8833 GB, free: 432 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.01366, allocations: 4 kB / 0.8833 GB, free: 428 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.01409, allocations: 144.5 kB / 0.8834 GB, free: 256 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.55e-05/0.01417, allocations: 71.28 kB / 0.8835 GB, free: 164 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.954e-05/0.01421, allocations: 4 kB / 0.8835 GB, free: 160 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.01424, allocations: 8.5 kB / 0.8835 GB, free: 152 kB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/0.01424, allocations: 0 / 0.8835 GB, free: 152 kB / 0.8386 GB Notification: Performance of Templates: time 0.005032/0.01927, allocations: 1.288 MB / 0.8848 GB, free: 14.93 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 800] 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: 8.638362370082177]