Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.0008707/0.0008707, 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.0009518/0.0009518, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8972/0.8972, allocations: 177.1 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.785/1.785, allocations: 389.1 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.864e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001717/0.001735, allocations: 1.305 MB / 1.001 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003097/0.004832, allocations: 3.531 MB / 1.004 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.691e-05/0.004859, allocations: 3.938 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.004875, allocations: 3.938 kB / 1.004 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004305/0.005306, allocations: 107.4 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.005555, allocations: 131.5 kB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.005657, allocations: 27.86 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.005764, allocations: 0 / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.005872, allocations: 35.89 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.277e-05/0.005945, allocations: 23.98 kB / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.005957, allocations: 11.94 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003031/0.00626, allocations: 295.5 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.006272, allocations: 3.938 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.006291, allocations: 8 kB / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.006482, allocations: 155.6 kB / 1.005 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.006485, allocations: 0 / 1.005 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.212e-06/0.006486, allocations: 0 / 1.005 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.00649, allocations: 0 / 1.005 GB, free: 7.82 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.00029/0.006781, allocations: 278 kB / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.006819, allocations: 8.75 kB / 1.005 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.708e-05/0.006846, allocations: 34.75 kB / 1.005 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.114e-05/0.006867, allocations: 12.86 kB / 1.005 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.937e-05/0.006936, allocations: 109.7 kB / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.006948, allocations: 8.359 kB / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-06/0.006955, allocations: 384 / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.62e-05/0.007031, allocations: 38.2 kB / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.007037, allocations: 192 / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.007046, allocations: 3.938 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.00705, allocations: 0 / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.209e-05/0.007082, allocations: 7.984 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001124/0.007195, allocations: 124.8 kB / 1.006 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.577e-05/0.00724, allocations: 22.61 kB / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.007257, allocations: 12.84 kB / 1.006 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/0.007398, allocations: 20.05 kB / 1.006 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.007418, allocations: 34.5 kB / 1.006 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.007419, allocations: 0 / 1.006 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001217/0.00754, allocations: 45.64 kB / 1.006 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.007571, allocations: 59.52 kB / 1.006 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.331e-05/0.007624, allocations: 101.9 kB / 1.006 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.007633, allocations: 29.7 kB / 1.006 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.282e-05/0.007656, allocations: 80.14 kB / 1.006 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.007681, allocations: 3.953 kB / 1.006 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.007707, allocations: 17.7 kB / 1.006 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.521e-05/0.007782, allocations: 318.8 kB / 1.006 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.377e-06/0.007791, allocations: 3.938 kB / 1.006 GB, free: 6.289 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.668e-06/0.007801, allocations: 7.938 kB / 1.007 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.885e-05/0.00783, allocations: 12.86 kB / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.007832, allocations: 4.062 kB / 1.007 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.555e-05/0.007877, allocations: 41.69 kB / 1.007 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.007892, allocations: 4 kB / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.007898, allocations: 3.938 kB / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.00791, allocations: 0 / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.318e-05/0.007953, allocations: 4 kB / 1.007 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.007958, allocations: 0 / 1.007 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.063e-05/0.007969, allocations: 0 / 1.007 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.007974, allocations: 4 kB / 1.007 GB, free: 6.199 MB / 0.9636 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 (2): * Single equations (assignments): 2 * 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 0.0001372/0.008111, allocations: 113.8 kB / 1.007 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-06/0.008116, allocations: 11.89 kB / 1.007 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.959e-05/0.008206, allocations: 52.94 kB / 1.007 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.008208, allocations: 0 / 1.007 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.008212, allocations: 0 / 1.007 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.008215, allocations: 0 / 1.007 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.299e-05/0.008278, allocations: 124.8 kB / 1.007 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008279, allocations: 4 kB / 1.007 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-06/0.008289, allocations: 0 / 1.007 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.00829, allocations: 0 / 1.007 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.008298, allocations: 11.97 kB / 1.007 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.008299, allocations: 0 / 1.007 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.0083, allocations: 0 / 1.007 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.694e-05/0.008357, allocations: 65.06 kB / 1.007 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.008375, allocations: 4 kB / 1.007 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.008385, allocations: 7.922 kB / 1.007 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-06/0.008393, allocations: 4 kB / 1.007 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.008404, allocations: 0 / 1.007 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-06/0.008406, allocations: 256 / 1.007 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.671e-05/0.008432, allocations: 83.28 kB / 1.007 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.008432, allocations: 0 / 1.007 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001485/0.008581, allocations: 39.89 kB / 1.007 GB, free: 5.613 MB / 0.9636 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 (2): * Single equations (assignments): 2 * 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.0003022/0.008883, allocations: 0.6241 MB / 1.008 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.724e-05/0.00895, allocations: 15.88 kB / 1.008 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.008952, allocations: 0 / 1.008 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.923e-06/0.008959, allocations: 7.938 kB / 1.008 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.009136, allocations: 7.938 kB / 1.008 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/0.009531, allocations: 162.5 kB / 1.008 GB, free: 4.73 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.327e-05/0.009574, allocations: 63.34 kB / 1.008 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.133e-05/0.009595, allocations: 3.906 kB / 1.008 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.009623, allocations: 16.44 kB / 1.008 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of SimCode: time 3.7e-07/0.009624, allocations: 0 / 1.008 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.02701, allocations: 2.293 MB / 1.01 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.66/6.687, allocations: 9.594 kB / 1.01 GB, free: 2.484 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.830899664200842]