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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.000968/0.0009678, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006492/0.006492, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.692/2.692, allocations: 462.7 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004828, allocations: 11 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3115, allocations: 159.6 MB / 1.059 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001887/0.3134, allocations: 1.093 MB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002018/0.3155, allocations: 1.11 MB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.3155, allocations: 4 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.3156, allocations: 4 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/0.3156, allocations: 7.922 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006124/0.3163, allocations: 146.2 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.4e-05/0.3163, allocations: 35.86 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/0.3164, allocations: 7.969 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.3165, allocations: 15.94 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.646e-05/0.3165, allocations: 15.92 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.3166, allocations: 4 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006397/0.3172, allocations: 423.4 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.3172, allocations: 0 / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.3173, allocations: 53.5 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.3176, allocations: 191.9 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3176, allocations: 0 / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3177, allocations: 0 / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.3177, allocations: 0 / 1.062 GB, free: 1.68 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.0004163/0.3181, allocations: 383.4 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.3181, allocations: 15.97 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.326e-05/0.3182, allocations: 34.73 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.3182, allocations: 0.9375 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.3183, allocations: 172.3 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3183, allocations: 8.297 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.3184, allocations: 4.375 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.3185, allocations: 37.81 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3185, allocations: 4 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3185, allocations: 4 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3185, allocations: 4 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.568e-05/0.3186, allocations: 8 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.3187, allocations: 157.7 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.35e-05/0.3188, allocations: 42.52 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.3189, allocations: 16.92 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008826/0.3197, allocations: 0.9856 MB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.3198, allocations: 42.44 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.3198, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001679/0.32, allocations: 57.69 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.32, allocations: 51.41 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.041e-05/0.3201, allocations: 105.8 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.3201, allocations: 33.64 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.3201, allocations: 84.14 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.3202, allocations: 11.75 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.3202, allocations: 17.7 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.754e-05/0.3203, allocations: 318.8 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.3203, allocations: 4 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.534e-05/0.3203, allocations: 4 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.938e-05/0.3204, allocations: 28.84 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3204, allocations: 0 / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.205e-05/0.3205, allocations: 53.55 kB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3205, allocations: 9.859 kB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3205, allocations: 0 / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.3205, allocations: 0 / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3206, allocations: 19.94 kB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.3207, allocations: 0 / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.3207, allocations: 0 / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.3207, allocations: 7.938 kB / 1.064 GB, free: 14.54 MB / 0.8262 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.539e-05/0.3208, allocations: 109.8 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.3208, allocations: 8.266 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.3209, allocations: 68.39 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3209, allocations: 0 / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.3209, allocations: 0 / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3209, allocations: 4 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.3211, allocations: 165.6 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3211, allocations: 0 / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.187e-05/0.3211, allocations: 23.88 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3212, allocations: 0 / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-06/0.3212, allocations: 0 / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3212, allocations: 0 / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3212, allocations: 0 / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.3213, allocations: 85.03 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.3213, allocations: 88.97 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.3213, allocations: 0 / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.144e-05/0.3214, allocations: 0 / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.3214, allocations: 4 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.3214, allocations: 0 / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.728e-05/0.3214, allocations: 87.27 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3214, allocations: 0 / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002322/0.3217, allocations: 43.94 kB / 1.065 GB, free: 13.76 MB / 0.8262 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.0004569/0.3221, allocations: 0.6708 MB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.473e-05/0.3222, allocations: 19.98 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3222, allocations: 0 / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.057e-05/0.3223, allocations: 11.94 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.3225, allocations: 11.98 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.3229, allocations: 212.3 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.3231, allocations: 0.677 MB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.558e-05/0.3231, allocations: 8 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.3232, allocations: 19.42 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of SimCode: time 2.485e-06/0.3232, allocations: 0 / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7814/1.105, allocations: 1.986 MB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002692/1.105, allocations: 304.8 kB / 1.069 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.898, allocations: 3.938 kB / 1.069 GB, free: 9.91 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