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.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.001757/0.001757, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002616/0.002616, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 8.016 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.76/2.76, allocations: 476.8 MB / 0.7707 GB, free: 4.281 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.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: 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.00222/0.00222, allocations: 71.09 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3518, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.00192/0.3537, allocations: 0.5629 MB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002503/0.3539, allocations: 107.7 kB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.973e-05/0.354, allocations: 4 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.3541, allocations: 11.98 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.878e-05/0.3541, allocations: 0 / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.3543, allocations: 35.89 kB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.788e-05/0.3543, allocations: 23.98 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.3544, allocations: 8.031 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.411e-05/0.3544, allocations: 15.98 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.098e-05/0.3545, allocations: 19.92 kB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.3545, allocations: 0 / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.158e-05/0.3545, allocations: 8 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.3546, allocations: 0 / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.3546, allocations: 15.97 kB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.3547, allocations: 35.47 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3547, allocations: 0 / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3547, allocations: 3.938 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.3547, allocations: 0 / 1.284 GB, free: 10.88 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000345/0.3551, allocations: 288.1 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3551, allocations: 12.03 kB / 1.285 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.3551, allocations: 30.75 kB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.3552, allocations: 8.938 kB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.3553, allocations: 110.4 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3553, allocations: 4.375 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.3553, allocations: 4.375 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.3554, allocations: 54.22 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3554, allocations: 7.938 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3554, allocations: 4 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3554, allocations: 0 / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.568e-05/0.3555, allocations: 12 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.3556, allocations: 116.8 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.01e-05/0.3557, allocations: 34.5 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.3557, allocations: 16.91 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.3557, allocations: 0 / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.3558, allocations: 42.56 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.3558, allocations: 0 / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002322/0.356, allocations: 103.3 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3561, allocations: 81.11 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.753e-05/0.3561, allocations: 101.8 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.3561, allocations: 29.7 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.3562, allocations: 80.39 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.3562, allocations: 8 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.3562, allocations: 21.72 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3564, allocations: 310.8 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.258e-05/0.3564, allocations: 15.98 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.38e-05/0.3564, allocations: 7.984 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.21e-05/0.3565, allocations: 80.27 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3565, allocations: 0 / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000137/0.3566, allocations: 103.4 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.3567, allocations: 41.58 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3567, allocations: 0 / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3567, allocations: 3.938 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.3567, allocations: 0 / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3567, allocations: 0 / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.3568, allocations: 7.984 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.3569, allocations: 4 kB / 1.286 GB, free: 8.934 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 (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 0.0001037/0.357, allocations: 139.5 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.357, allocations: 19.91 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.614e-06/0.357, allocations: 3.156 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.357, allocations: 4 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.357, allocations: 3.984 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.357, allocations: 0 / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.694e-05/0.3571, allocations: 120.8 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3571, allocations: 0 / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.3571, allocations: 0 / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3571, allocations: 3.938 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.3571, allocations: 8 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3571, allocations: 4 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3571, allocations: 3.984 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.3573, allocations: 122.8 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-06/0.3573, allocations: 7.984 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.3573, allocations: 7.938 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.816e-05/0.3574, allocations: 4 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.3574, allocations: 0 / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.3574, allocations: 8.031 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.086e-05/0.3575, allocations: 79.27 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3575, allocations: 0 / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002098/0.3577, allocations: 19.94 kB / 1.286 GB, free: 8.305 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 (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.0005424/0.3582, allocations: 0.6619 MB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.3584, allocations: 91.31 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3584, allocations: 0 / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.035e-05/0.3584, allocations: 63.39 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.3586, allocations: 20.36 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.359, allocations: 130.8 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.3592, allocations: 0.6728 MB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.178e-05/0.3593, allocations: 4 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.769e-05/0.3593, allocations: 7.438 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3593, allocations: 0 / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.3856, allocations: 1.983 MB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.96, allocations: 1.812 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB " [Timeout remaining time 288] (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: 17.721893448999253]