Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_10_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_10_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.006639/0.006639, allocations: 101.1 kB / 15.73 MB, free: 6.445 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.001724/0.001724, allocations: 191.6 kB / 16.67 MB, free: 6.348 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 437.1 MB / 0.7106 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 71.86 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3095, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002532/0.3121, allocations: 1.366 MB / 1.168 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.3139, allocations: 1.083 MB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.3139, allocations: 0 / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.314, allocations: 7.922 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.85e-05/0.314, allocations: 3.938 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006356/0.3147, allocations: 219.3 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.536e-05/0.3147, allocations: 35.83 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.3148, allocations: 4 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.538e-05/0.3149, allocations: 7.938 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.3149, allocations: 19.92 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.3149, allocations: 0 / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006369/0.3156, allocations: 423.5 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.3156, allocations: 11.98 kB / 1.169 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.3157, allocations: 7.938 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.316, allocations: 207.6 kB / 1.17 GB, free: 3.852 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.316, allocations: 0 / 1.17 GB, free: 3.852 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.743e-06/0.316, allocations: 0 / 1.17 GB, free: 3.852 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.316, allocations: 0 / 1.17 GB, free: 3.852 MB / 0.92 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.0005249/0.3165, allocations: 394.7 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3166, allocations: 15.98 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.3166, allocations: 34.69 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.3167, allocations: 4.938 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.3168, allocations: 172.3 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.3168, allocations: 384 / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.3168, allocations: 8.375 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.317, allocations: 37.81 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.317, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.317, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.317, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.502e-05/0.3171, allocations: 19.92 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.3172, allocations: 161.7 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.226e-05/0.3173, allocations: 38.61 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.3174, allocations: 16.89 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/0.3184, allocations: 0.9895 MB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.3185, allocations: 34.5 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.3185, allocations: 0 / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001782/0.3187, allocations: 65.75 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.3187, allocations: 51.41 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.355e-05/0.3188, allocations: 109.8 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3188, allocations: 29.7 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.3189, allocations: 84.12 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.3189, allocations: 11.91 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.319, allocations: 13.72 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3191, allocations: 322.8 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.3191, allocations: 4 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.594e-05/0.3191, allocations: 4 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.057e-05/0.3192, allocations: 24.8 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3192, allocations: 4 kB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.996e-05/0.3193, allocations: 61.52 kB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3193, allocations: 8 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3193, allocations: 0 / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3194, allocations: 0 / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3195, allocations: 15.98 kB / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3195, allocations: 0 / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.253e-05/0.3195, allocations: 0 / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.3195, allocations: 320 / 1.172 GB, free: 0.6953 MB / 0.92 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 8.1e-05/0.3196, allocations: 113.8 kB / 1.172 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.3196, allocations: 11.89 kB / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.3198, allocations: 65.52 kB / 1.172 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3198, allocations: 4 kB / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3198, allocations: 0 / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3198, allocations: 0 / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.3199, allocations: 165.5 kB / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3199, allocations: 0 / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.892e-05/0.32, allocations: 19.92 kB / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.32, allocations: 0 / 1.173 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.32, allocations: 8 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.32, allocations: 0 / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.32, allocations: 0 / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.3202, allocations: 77.06 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.3202, allocations: 89 kB / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.3202, allocations: 0 / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.069e-05/0.3203, allocations: 0 / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/0.3203, allocations: 3.984 kB / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.3203, allocations: 8 kB / 1.173 GB, free: 32 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.678e-05/0.3204, allocations: 87.27 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3204, allocations: 0 / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000235/0.3206, allocations: 39.86 kB / 1.173 GB, free: 15.91 MB / 0.9356 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.0005675/0.3212, allocations: 0.671 MB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.521e-05/0.3213, allocations: 28.02 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3213, allocations: 0 / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.592e-05/0.3213, allocations: 15.94 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.3216, allocations: 4 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.322, allocations: 205.5 kB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.3223, allocations: 0.6807 MB / 1.174 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.3224, allocations: 6.953 kB / 1.174 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.3224, allocations: 11.44 kB / 1.174 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.3224, allocations: 0 / 1.174 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.331/2.653, allocations: 2.191 MB / 1.177 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.65/21.31, allocations: 11.38 kB / 1.177 GB, free: 12.21 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches