Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.451/2.451, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] 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.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 67.91 kB / 1.107 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7266/0.7284, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001486/0.7298, allocations: 0.5666 MB / 1.272 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002133/0.73, allocations: 110.2 kB / 1.272 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.234e-05/0.7301, allocations: 0 / 1.272 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.304e-05/0.7302, allocations: 7.141 kB / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.479e-05/0.7302, allocations: 4 kB / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.7303, allocations: 38.83 kB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.337e-05/0.7304, allocations: 27.11 kB / 1.272 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.441e-05/0.7305, allocations: 2.422 kB / 1.272 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.918e-05/0.7305, allocations: 16.48 kB / 1.272 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.79e-05/0.7305, allocations: 14.89 kB / 1.272 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.7306, allocations: 1.344 kB / 1.272 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.946e-05/0.7306, allocations: 15.83 kB / 1.272 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.696e-06/0.7306, allocations: 7.875 kB / 1.272 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.7306, allocations: 15.41 kB / 1.272 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.944e-05/0.7307, allocations: 33.72 kB / 1.272 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.7307, allocations: 0.5625 kB / 1.272 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7307, allocations: 0 / 1.272 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.7307, allocations: 0.875 kB / 1.272 GB, free: 7.211 MB / 0.9981 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.0002386/0.731, allocations: 350.8 kB / 1.273 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.731, allocations: 9.844 kB / 1.273 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.944e-05/0.731, allocations: 33 kB / 1.273 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.7311, allocations: 8.219 kB / 1.273 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.745e-05/0.7311, allocations: 167.1 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.7311, allocations: 2.625 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.7311, allocations: 4.312 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.7312, allocations: 52.53 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.7313, allocations: 4.734 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.7313, allocations: 10.08 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.7313, allocations: 0.6562 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.666e-05/0.7313, allocations: 13.41 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.419e-05/0.7314, allocations: 157.2 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.239e-05/0.7314, allocations: 36.66 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.7315, allocations: 14.3 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.7315, allocations: 1.703 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.7315, allocations: 31.72 kB / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.7315, allocations: 0 / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0002036/0.7317, allocations: 118.2 kB / 1.273 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.7317, allocations: 80.22 kB / 1.273 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.036e-05/0.7318, allocations: 101.5 kB / 1.273 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.7318, allocations: 27.27 kB / 1.273 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.115e-05/0.7318, allocations: 81.84 kB / 1.273 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.7318, allocations: 6.109 kB / 1.273 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.7318, allocations: 24.12 kB / 1.273 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.377e-05/0.7319, allocations: 316.8 kB / 1.274 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.623e-05/0.7319, allocations: 8.656 kB / 1.274 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.98e-05/0.7319, allocations: 14.48 kB / 1.274 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.436e-05/0.732, allocations: 76.52 kB / 1.274 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.732, allocations: 0 / 1.274 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001154/0.7321, allocations: 98.27 kB / 1.274 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.7322, allocations: 41.17 kB / 1.274 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.7322, allocations: 0 / 1.274 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.7322, allocations: 1.953 kB / 1.274 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.7322, allocations: 4 kB / 1.274 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.7322, allocations: 3.938 kB / 1.274 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.7323, allocations: 6.531 kB / 1.274 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.7323, allocations: 3.812 kB / 1.274 GB, free: 5.32 MB / 0.9981 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 4.946e-05/0.7324, allocations: 139.5 kB / 1.274 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.7324, allocations: 8.062 kB / 1.274 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.878e-06/0.7324, allocations: 4.703 kB / 1.274 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.7324, allocations: 0 / 1.274 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.7324, allocations: 4.516 kB / 1.274 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.7324, allocations: 0.8125 kB / 1.274 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.278e-05/0.7325, allocations: 154.6 kB / 1.274 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7325, allocations: 0.6562 kB / 1.274 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.7325, allocations: 0 / 1.274 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.7325, allocations: 5.203 kB / 1.274 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.7325, allocations: 4.109 kB / 1.274 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.7325, allocations: 3.938 kB / 1.274 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7325, allocations: 0.7188 kB / 1.274 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.7326, allocations: 128.7 kB / 1.274 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.7326, allocations: 82.41 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.7326, allocations: 6.734 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.7327, allocations: 10.91 kB / 1.275 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.7328, allocations: 2.25 kB / 1.275 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.7328, allocations: 7.297 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.637e-05/0.7328, allocations: 78.03 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7328, allocations: 4.938 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001846/0.733, allocations: 12.66 kB / 1.275 GB, free: 4.664 MB / 0.9981 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.0003487/0.7333, allocations: 0.6797 MB / 1.275 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.7334, allocations: 80.06 kB / 1.275 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.7334, allocations: 0.9375 kB / 1.275 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.412e-05/0.7335, allocations: 69.38 kB / 1.275 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.7336, allocations: 4.938 kB / 1.275 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.7339, allocations: 141.4 kB / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.734, allocations: 0.6724 MB / 1.276 GB, free: 19.04 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.148e-05/0.7341, allocations: 17 kB / 1.276 GB, free: 19.03 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.347e-05/0.7341, allocations: 8.922 kB / 1.276 GB, free: 19.02 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.7341, allocations: 0 / 1.276 GB, free: 19.02 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.7572, allocations: 1.855 MB / 1.278 GB, free: 18.59 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.106/7.863, allocations: 1.734 kB / 1.278 GB, free: 18.59 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_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_ExchangeValues.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.153065143997082]