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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002623/0.002623, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.698/2.698, allocations: 461.9 MB / 0.7347 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 66.39 kB / 0.8993 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3156, allocations: 157.4 MB / 1.053 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003427/0.3191, allocations: 1.36 MB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.3212, allocations: 1.094 MB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.3213, allocations: 4 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.3213, allocations: 0 / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.959e-05/0.3214, allocations: 11.92 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.3225, allocations: 214.5 kB / 1.056 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.3226, allocations: 31.84 kB / 1.056 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.523e-05/0.3227, allocations: 15.94 kB / 1.056 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.3228, allocations: 15.92 kB / 1.056 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.669e-05/0.3229, allocations: 15.92 kB / 1.056 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.3229, allocations: 0 / 1.056 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008288/0.3238, allocations: 423.5 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.3238, allocations: 4 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.3239, allocations: 19.86 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004715/0.3243, allocations: 191.9 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.3244, allocations: 4 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.365e-06/0.3244, allocations: 0 / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.3244, allocations: 4 kB / 1.056 GB, free: 4.816 MB / 0.8106 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.0005559/0.3249, allocations: 383.3 kB / 1.057 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.325, allocations: 8.625 kB / 1.057 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/0.325, allocations: 38.73 kB / 1.057 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.3251, allocations: 4.938 kB / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.3252, allocations: 172.2 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3253, allocations: 384 / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.3253, allocations: 4.375 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.3254, allocations: 42.31 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3254, allocations: 4 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3255, allocations: 0 / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.3255, allocations: 4 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.731e-05/0.3255, allocations: 11.98 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.3258, allocations: 157.7 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.3259, allocations: 38.52 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.3259, allocations: 28.8 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.327, allocations: 0.9817 MB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.327, allocations: 50.5 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.327, allocations: 0 / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002093/0.3273, allocations: 53.59 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.3273, allocations: 59.34 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/0.3274, allocations: 105.8 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3274, allocations: 25.7 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.3275, allocations: 88.12 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.3275, allocations: 15.83 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.3276, allocations: 17.72 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3277, allocations: 314.8 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.291e-05/0.3277, allocations: 8 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.935e-05/0.3277, allocations: 7.984 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.6e-05/0.3278, allocations: 20.86 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3278, allocations: 0 / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001004/0.3279, allocations: 61.8 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3279, allocations: 4 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3279, allocations: 0 / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.328, allocations: 0 / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3281, allocations: 19.98 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3281, allocations: 0 / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.572e-05/0.3281, allocations: 0 / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.3281, allocations: 11.98 kB / 1.059 GB, free: 1.656 MB / 0.8106 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.357e-05/0.3282, allocations: 105.8 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.3282, allocations: 7.938 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.3284, allocations: 57.59 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3284, allocations: 3.938 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3284, allocations: 4 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.3284, allocations: 3.984 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.3285, allocations: 161.6 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3286, allocations: 0 / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.873e-05/0.3286, allocations: 15.94 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.3287, allocations: 3.984 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.3287, allocations: 0 / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3287, allocations: 3.938 kB / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3287, allocations: 0 / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.3288, allocations: 81.12 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.3289, allocations: 81.05 kB / 1.059 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.3289, allocations: 0 / 1.059 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.882e-05/0.3289, allocations: 4 kB / 1.059 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.3289, allocations: 4 kB / 1.059 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.329, allocations: 3.938 kB / 1.059 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.963e-05/0.329, allocations: 87.2 kB / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.329, allocations: 0 / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002611/0.3293, allocations: 47.94 kB / 1.06 GB, free: 0.8867 MB / 0.8106 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.0005656/0.3299, allocations: 0.6709 MB / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.33, allocations: 19.94 kB / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.33, allocations: 0 / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/0.33, allocations: 11.98 kB / 1.06 GB, free: 160 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.3303, allocations: 16.94 kB / 1.06 GB, free: 144 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/0.3308, allocations: 189.8 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.331, allocations: 0.6768 MB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.586e-05/0.3311, allocations: 12.31 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.3311, allocations: 15.44 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3312, allocations: 0 / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4046/0.7358, allocations: 2.166 MB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.4, allocations: 7.062 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) 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/jenkins1/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) Reference file matches