Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00545/0.00545, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001513/0.001513, allocations: 197.5 kB / 16.67 MB, free: 5.973 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.598/2.598, allocations: 469.8 MB / 0.7425 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 71.81 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2649, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00209/0.267, allocations: 1.376 MB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.2685, allocations: 1.079 MB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.2685, allocations: 4 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.2685, allocations: 3.938 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.2686, allocations: 3.938 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.2691, allocations: 215.2 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.983e-05/0.2692, allocations: 31.84 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.407e-05/0.2692, allocations: 8 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.503e-05/0.2693, allocations: 15.92 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.838e-05/0.2693, allocations: 15.92 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.757e-06/0.2693, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005768/0.2699, allocations: 431.4 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.556e-06/0.2699, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.27, allocations: 19.86 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.2703, allocations: 195.4 kB / 1.224 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2703, allocations: 0 / 1.224 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2703, allocations: 0 / 1.224 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2703, allocations: 0 / 1.224 GB, free: 10.86 MB / 0.9825 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.0004095/0.2707, allocations: 394.8 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.2707, allocations: 12.03 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.2708, allocations: 38.73 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.888e-05/0.2708, allocations: 0.9375 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2709, allocations: 168.3 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.2709, allocations: 384 / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.2709, allocations: 384 / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.056e-05/0.271, allocations: 53.69 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2711, allocations: 4 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.2711, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2711, allocations: 3.984 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.151e-05/0.2711, allocations: 11.98 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.2713, allocations: 157.7 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.373e-05/0.2714, allocations: 38.62 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.2714, allocations: 16.88 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009026/0.2723, allocations: 0.9894 MB / 1.225 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.2724, allocations: 42.44 kB / 1.225 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2724, allocations: 4 kB / 1.225 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001424/0.2725, allocations: 57.64 kB / 1.225 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.2726, allocations: 51.41 kB / 1.226 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.982e-05/0.2726, allocations: 113.8 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.2727, allocations: 29.7 kB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.2727, allocations: 84.14 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.2727, allocations: 11.89 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.2728, allocations: 17.72 kB / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2729, allocations: 318.8 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.2729, allocations: 8 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.694e-05/0.2729, allocations: 7.984 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.319e-05/0.273, allocations: 20.8 kB / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.273, allocations: 0 / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.74e-05/0.2731, allocations: 53.62 kB / 1.226 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.2731, allocations: 8 kB / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2731, allocations: 0 / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.2731, allocations: 0 / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.2732, allocations: 23.98 kB / 1.226 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.2732, allocations: 0 / 1.226 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/0.2732, allocations: 0 / 1.226 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.2732, allocations: 0 / 1.226 GB, free: 7.703 MB / 0.9825 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.213e-05/0.2733, allocations: 117.8 kB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.2733, allocations: 7.891 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.2735, allocations: 59.56 kB / 1.226 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2735, allocations: 4 kB / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2735, allocations: 0 / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2735, allocations: 8.359 kB / 1.226 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.2736, allocations: 157.7 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2736, allocations: 0 / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.963e-05/0.2737, allocations: 15.94 kB / 1.227 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2737, allocations: 3.984 kB / 1.227 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.2737, allocations: 0 / 1.227 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2737, allocations: 3.938 kB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.2737, allocations: 0 / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.931e-05/0.2738, allocations: 88.98 kB / 1.227 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.2739, allocations: 89 kB / 1.227 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.2739, allocations: 0 / 1.227 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.982e-05/0.2739, allocations: 0 / 1.227 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-06/0.2739, allocations: 0 / 1.227 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.2739, allocations: 8 kB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.186e-05/0.274, allocations: 83.27 kB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.274, allocations: 0 / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002111/0.2742, allocations: 43.81 kB / 1.227 GB, free: 6.918 MB / 0.9825 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.0004745/0.2747, allocations: 0.6752 MB / 1.227 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.942e-05/0.2748, allocations: 16 kB / 1.228 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2748, allocations: 4 kB / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.231e-05/0.2748, allocations: 11.98 kB / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.275, allocations: 8.484 kB / 1.228 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.2753, allocations: 205.5 kB / 1.228 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.2756, allocations: 0.6768 MB / 1.228 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.979e-05/0.2756, allocations: 8.234 kB / 1.228 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.2757, allocations: 15.44 kB / 1.228 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.2757, allocations: 0 / 1.228 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.59/4.865, allocations: 2.196 MB / 1.231 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/17.29, allocations: 14.61 kB / 1.231 GB, free: 3.215 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches