Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008946/0.0008946, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0009009/0.0009009, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.8988/0.8988, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.701/1.701, allocations: 377.8 MB / 0.6221 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.981 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.392e-05, allocations: 2.281 kB / 0.981 GB, free: 2.508 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001915/0.001939, allocations: 1.386 MB / 0.9824 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.003191, allocations: 1.047 MB / 0.9834 GB, free: 60 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.171e-05/0.003223, allocations: 0 / 0.9834 GB, free: 60 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.003243, allocations: 3.938 kB / 0.9834 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.392e-05/0.003287, allocations: 7.938 kB / 0.9834 GB, free: 48 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.003852, allocations: 233.6 kB / 0.9837 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 6.921e-05/0.003921, allocations: 35.8 kB / 0.9837 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.00397, allocations: 0 / 0.9837 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.004109, allocations: 19.98 kB / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.749e-05/0.004166, allocations: 11.97 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.004181, allocations: 4 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004339/0.004615, allocations: 403.4 kB / 0.9841 GB, free: 15.36 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.004626, allocations: 4 kB / 0.9841 GB, free: 15.35 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.004648, allocations: 8 kB / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.004942, allocations: 251.3 kB / 0.9844 GB, free: 15.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.004948, allocations: 7.984 kB / 0.9844 GB, free: 15.09 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.332e-06/0.00495, allocations: 0 / 0.9844 GB, free: 15.09 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.004956, allocations: 0 / 0.9844 GB, free: 15.09 MB / 0.948 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.0003667/0.005322, allocations: 309.7 kB / 0.9847 GB, free: 14.76 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.005371, allocations: 12.03 kB / 0.9847 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.146e-05/0.005402, allocations: 38.75 kB / 0.9847 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.005431, allocations: 0.9375 kB / 0.9847 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.771e-05/0.005509, allocations: 109.8 kB / 0.9848 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.005519, allocations: 4.375 kB / 0.9848 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.005527, allocations: 4.312 kB / 0.9848 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.192e-05/0.005619, allocations: 42.25 kB / 0.9849 GB, free: 14.51 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.005626, allocations: 4.188 kB / 0.9849 GB, free: 14.51 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.005637, allocations: 4.125 kB / 0.9849 GB, free: 14.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.005641, allocations: 0 / 0.9849 GB, free: 14.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.289e-05/0.005684, allocations: 15.92 kB / 0.9849 GB, free: 14.49 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.005815, allocations: 136.7 kB / 0.985 GB, free: 14.31 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.103e-05/0.005896, allocations: 38.5 kB / 0.9851 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.005922, allocations: 16.92 kB / 0.9851 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003336/0.006256, allocations: 95.92 kB / 0.9852 GB, free: 14.15 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.006281, allocations: 42.48 kB / 0.9852 GB, free: 14.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.006282, allocations: 0 / 0.9852 GB, free: 14.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001717/0.006453, allocations: 57.59 kB / 0.9853 GB, free: 14.04 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.006489, allocations: 59.39 kB / 0.9853 GB, free: 13.97 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.223e-05/0.006551, allocations: 109.8 kB / 0.9854 GB, free: 13.85 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.006563, allocations: 25.7 kB / 0.9854 GB, free: 13.82 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.006595, allocations: 84.12 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.006624, allocations: 15.91 kB / 0.9855 GB, free: 13.72 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.006652, allocations: 17.66 kB / 0.9856 GB, free: 13.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.197e-05/0.006744, allocations: 318.8 kB / 0.9859 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.00676, allocations: 4 kB / 0.9859 GB, free: 13.37 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.292e-05/0.006773, allocations: 4 kB / 0.9859 GB, free: 13.37 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/0.006813, allocations: 24.86 kB / 0.9859 GB, free: 13.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.006816, allocations: 0 / 0.9859 GB, free: 13.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.905e-05/0.006885, allocations: 53.69 kB / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.006902, allocations: 4 kB / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.006907, allocations: 0 / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.006922, allocations: 3.938 kB / 0.9859 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.007006, allocations: 19.92 kB / 0.986 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.007012, allocations: 0 / 0.986 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.645e-05/0.007028, allocations: 4 kB / 0.986 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.007033, allocations: 0 / 0.986 GB, free: 13.25 MB / 0.948 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 6.119e-05/0.007094, allocations: 109.8 kB / 0.9861 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.007102, allocations: 7.953 kB / 0.9861 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.007211, allocations: 68.62 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.007215, allocations: 3.938 kB / 0.9862 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.007219, allocations: 0 / 0.9862 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.007221, allocations: 0 / 0.9862 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.371e-05/0.007305, allocations: 128.8 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.007306, allocations: 0 / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.00734, allocations: 15.94 kB / 0.9863 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.007342, allocations: 0 / 0.9863 GB, free: 12.87 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.007349, allocations: 7.938 kB / 0.9863 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.007353, allocations: 7.938 kB / 0.9863 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007354, allocations: 0 / 0.9863 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.978e-05/0.007424, allocations: 77.5 kB / 0.9864 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.007435, allocations: 15.88 kB / 0.9864 GB, free: 12.74 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.007446, allocations: 0 / 0.9864 GB, free: 12.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.087e-05/0.007456, allocations: 3.938 kB / 0.9864 GB, free: 12.74 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.00747, allocations: 8.031 kB / 0.9864 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.007474, allocations: 0 / 0.9864 GB, free: 12.73 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.978e-05/0.007503, allocations: 91.56 kB / 0.9865 GB, free: 12.64 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007503, allocations: 3.938 kB / 0.9865 GB, free: 12.64 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001738/0.007677, allocations: 39.88 kB / 0.9865 GB, free: 12.6 MB / 0.948 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.000408/0.008085, allocations: 0.6825 MB / 0.9872 GB, free: 11.88 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.73e-05/0.008173, allocations: 16 kB / 0.9872 GB, free: 11.87 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.008175, allocations: 0 / 0.9872 GB, free: 11.87 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.497e-05/0.0082, allocations: 15.92 kB / 0.9872 GB, free: 11.85 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.008422, allocations: 13.11 kB / 0.9872 GB, free: 11.84 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.008778, allocations: 178.4 kB / 0.9874 GB, free: 11.62 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.559e-05/0.008824, allocations: 67.34 kB / 0.9875 GB, free: 11.54 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.602e-05/0.00885, allocations: 4 kB / 0.9875 GB, free: 11.54 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.008883, allocations: 16.5 kB / 0.9875 GB, free: 11.52 MB / 0.948 GB Notification: Performance of SimCode: time 3.7e-07/0.008884, allocations: 0 / 0.9875 GB, free: 11.52 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.02679, allocations: 2.943 MB / 0.9904 GB, free: 8.82 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.569/6.596, allocations: 10.83 kB / 0.9904 GB, free: 8.812 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.680302230641246]