Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.0007904/0.0007904, 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.001037/0.001037, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8541/0.8541, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.729/1.729, allocations: 389 MB / 0.633 GB, free: 12.7 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.ExchangeValues,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024e-05/1.151e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001037/0.001049, allocations: 0.566 MB / 1 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001815/0.00123, allocations: 99.73 kB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.001252, allocations: 0 / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.61e-05/0.001338, allocations: 11.81 kB / 1 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.759e-05/0.001386, allocations: 0 / 1 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001092/0.001495, allocations: 43.89 kB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.375e-05/0.001579, allocations: 31.91 kB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.001618, allocations: 4 kB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.49e-05/0.001653, allocations: 15.98 kB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.157e-05/0.001704, allocations: 15.97 kB / 1 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.001721, allocations: 3.938 kB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.999e-05/0.001761, allocations: 15.94 kB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.001772, allocations: 4 kB / 1 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.001797, allocations: 4 kB / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.804e-05/0.001885, allocations: 35.94 kB / 1.001 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.001886, allocations: 0 / 1.001 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.11e-07/0.001887, allocations: 0 / 1.001 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.001891, allocations: 0 / 1.001 GB, free: 12.66 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002523/0.002143, allocations: 282.3 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.002178, allocations: 12.75 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.504e-05/0.002203, allocations: 30.75 kB / 1.001 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.384e-05/0.002227, allocations: 4.938 kB / 1.001 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.2e-05/0.002299, allocations: 105.8 kB / 1.001 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.002309, allocations: 4.375 kB / 1.001 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.002319, allocations: 4.375 kB / 1.001 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.00242, allocations: 83.92 kB / 1.001 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.002425, allocations: 192 / 1.001 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.002434, allocations: 384 / 1.001 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.00244, allocations: 4.125 kB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.543e-05/0.002475, allocations: 49.56 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.121e-05/0.002567, allocations: 116.8 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.514e-05/0.002622, allocations: 56.3 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.002654, allocations: 46.61 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.00266, allocations: 8 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.002677, allocations: 30.56 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 5.51e-07/0.002678, allocations: 0 / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.000187/0.002865, allocations: 166.7 kB / 1.001 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.002899, allocations: 85.05 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.884e-05/0.002948, allocations: 97.8 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/0.002957, allocations: 25.7 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.997e-05/0.002977, allocations: 84.14 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.002999, allocations: 0 / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.003028, allocations: 25.95 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.864e-05/0.003097, allocations: 318.8 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.822e-05/0.003125, allocations: 45.62 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/0.003148, allocations: 37.7 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.35e-05/0.003201, allocations: 80.25 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.003203, allocations: 0 / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.724e-05/0.00329, allocations: 125 kB / 1.002 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.003313, allocations: 33.7 kB / 1.002 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.003317, allocations: 0 / 1.002 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.003326, allocations: 96 / 1.002 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/0.003328, allocations: 7.938 kB / 1.002 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.003332, allocations: 0 / 1.002 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.452e-05/0.003417, allocations: 7.984 kB / 1.002 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.003425, allocations: 4 kB / 1.002 GB, free: 10.42 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 5.668e-05/0.003482, allocations: 143.5 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/0.003489, allocations: 4 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.556e-06/0.003498, allocations: 3.156 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.003499, allocations: 4 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.003508, allocations: 3.938 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.00351, allocations: 4 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.396e-05/0.003564, allocations: 128.7 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.003565, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.003565, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.72e-07/0.003566, allocations: 3.938 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.003576, allocations: 8 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.003576, allocations: 0 / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.003578, allocations: 3.938 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.731e-05/0.003675, allocations: 148.5 kB / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-06/0.00368, allocations: 3.984 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.00369, allocations: 4 kB / 1.003 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.502e-05/0.003735, allocations: 12.02 kB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.00375, allocations: 11.94 kB / 1.003 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.003753, allocations: 0 / 1.003 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.33e-05/0.003776, allocations: 79.28 kB / 1.003 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.003776, allocations: 0 / 1.003 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001261/0.003902, allocations: 12 kB / 1.003 GB, free: 9.762 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003351/0.004237, allocations: 0.7003 MB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.004351, allocations: 138.8 kB / 1.004 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.004353, allocations: 0 / 1.004 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.014e-05/0.004394, allocations: 93.09 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/0.004496, allocations: 11.94 kB / 1.004 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.004782, allocations: 160.2 kB / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.3e-05/0.004815, allocations: 59.34 kB / 1.004 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.627e-05/0.004861, allocations: 12.06 kB / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.769e-05/0.004879, allocations: 12.5 kB / 1.004 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of SimCode: time 3.968e-06/0.004883, allocations: 0 / 1.004 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.02022, allocations: 2.636 MB / 1.007 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/6.746, allocations: 14.22 kB / 1.007 GB, free: 5.957 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_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_ExchangeValues.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.811158093623817]