Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001614/0.001614, allocations: 104.2 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001724/0.001724, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.426/1.426, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.679/2.679, allocations: 476.7 MB / 0.7672 GB, free: 5.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 67.91 kB / 1.112 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8502/0.8522, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002618/0.8548, allocations: 1.318 MB / 1.28 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00513/0.86, allocations: 3.835 MB / 1.283 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.86, allocations: 0 / 1.283 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.256e-05/0.86, allocations: 0 / 1.283 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005453/0.8606, allocations: 107.5 kB / 1.283 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.861, allocations: 139.5 kB / 1.284 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.275e-05/0.8611, allocations: 27.92 kB / 1.284 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.8611, allocations: 0 / 1.284 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.8612, allocations: 31.84 kB / 1.284 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.8613, allocations: 35.91 kB / 1.284 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.8613, allocations: 0 / 1.284 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005658/0.8619, allocations: 311.5 kB / 1.284 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.8619, allocations: 3.984 kB / 1.284 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.8619, allocations: 11.94 kB / 1.284 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.8622, allocations: 121.5 kB / 1.284 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8622, allocations: 0 / 1.284 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8622, allocations: 0 / 1.284 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.8622, allocations: 0 / 1.284 GB, free: 7.434 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005226/0.8627, allocations: 363.1 kB / 1.284 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.8628, allocations: 8.031 kB / 1.284 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.8628, allocations: 34.75 kB / 1.284 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.8628, allocations: 0.9375 kB / 1.284 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.863, allocations: 168.3 kB / 1.285 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.863, allocations: 8.375 kB / 1.285 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.863, allocations: 384 / 1.285 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.8631, allocations: 41.62 kB / 1.285 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.8631, allocations: 0 / 1.285 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.8631, allocations: 0 / 1.285 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.8632, allocations: 0 / 1.285 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.102e-05/0.8632, allocations: 7.938 kB / 1.285 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.8634, allocations: 153.7 kB / 1.285 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.037e-05/0.8635, allocations: 26.52 kB / 1.285 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.8635, allocations: 12.92 kB / 1.285 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002618/0.8637, allocations: 101 kB / 1.285 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.8638, allocations: 34.56 kB / 1.285 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.8638, allocations: 0 / 1.285 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001578/0.8639, allocations: 45.64 kB / 1.285 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.864, allocations: 55.41 kB / 1.285 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.812e-05/0.8641, allocations: 101.8 kB / 1.285 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.8641, allocations: 25.7 kB / 1.285 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.8641, allocations: 80.14 kB / 1.285 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.8642, allocations: 11.89 kB / 1.285 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.8642, allocations: 13.72 kB / 1.285 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.8644, allocations: 318.8 kB / 1.286 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.8644, allocations: 4.375 kB / 1.286 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.137e-05/0.8644, allocations: 4 kB / 1.286 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.699e-05/0.8644, allocations: 16.86 kB / 1.286 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8644, allocations: 0 / 1.286 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.921e-05/0.8645, allocations: 49.56 kB / 1.286 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.8645, allocations: 4 kB / 1.286 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.8645, allocations: 0 / 1.286 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.8645, allocations: 0 / 1.286 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.65e-05/0.8646, allocations: 4 kB / 1.286 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.8646, allocations: 4.094 kB / 1.286 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.149e-05/0.8646, allocations: 3.953 kB / 1.286 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.8646, allocations: 0 / 1.286 GB, free: 5.516 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 (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 9.735e-05/0.8647, allocations: 116.8 kB / 1.286 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.8648, allocations: 3.938 kB / 1.286 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.8649, allocations: 52.75 kB / 1.286 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8649, allocations: 0 / 1.286 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.8649, allocations: 4.031 kB / 1.286 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.8649, allocations: 0 / 1.286 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.865, allocations: 153.7 kB / 1.286 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.865, allocations: 7.922 kB / 1.286 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.865, allocations: 4 kB / 1.286 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.8651, allocations: 0 / 1.286 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.8651, allocations: 3.938 kB / 1.286 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.8651, allocations: 7.984 kB / 1.286 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8651, allocations: 0 / 1.286 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.04e-05/0.8652, allocations: 61.14 kB / 1.286 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.478e-05/0.8652, allocations: 92.98 kB / 1.286 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.8652, allocations: 3.938 kB / 1.286 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.439e-05/0.8653, allocations: 0 / 1.286 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.8653, allocations: 0 / 1.286 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.8653, allocations: 0 / 1.286 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.912e-05/0.8653, allocations: 83.28 kB / 1.286 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8653, allocations: 0 / 1.286 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002275/0.8655, allocations: 31.86 kB / 1.286 GB, free: 4.801 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 (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.0005389/0.8661, allocations: 0.6358 MB / 1.287 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.017e-05/0.8662, allocations: 15.94 kB / 1.287 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8662, allocations: 0 / 1.287 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.27e-05/0.8662, allocations: 4.094 kB / 1.287 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.8664, allocations: 8.234 kB / 1.287 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.867, allocations: 169.2 kB / 1.287 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.8674, allocations: 0.6768 MB / 1.288 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.8674, allocations: 7.938 kB / 1.288 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.8674, allocations: 15.44 kB / 1.288 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.8674, allocations: 4 kB / 1.288 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.893, allocations: 1.676 MB / 1.289 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.915, allocations: 2.531 kB / 1.289 GB, free: 1.652 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.88471995596774]