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.001128/0.001128, 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.001244/0.001244, 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.8854/0.8854, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.656/1.656, allocations: 359 MB / 0.6037 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.609e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001181/0.001197, allocations: 0.5788 MB / 0.9511 GB, free: 2.871 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001918/0.001389, allocations: 99.67 kB / 0.9512 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.001414, allocations: 0 / 0.9512 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 9.126e-05/0.001505, allocations: 7.938 kB / 0.9512 GB, free: 2.766 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.001553, allocations: 0 / 0.9512 GB, free: 2.766 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/0.001672, allocations: 35.89 kB / 0.9512 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.875e-05/0.001761, allocations: 35.92 kB / 0.9512 GB, free: 2.695 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.001804, allocations: 7.922 kB / 0.9512 GB, free: 2.688 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.778e-05/0.001842, allocations: 15.98 kB / 0.9513 GB, free: 2.672 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.18e-05/0.001894, allocations: 11.98 kB / 0.9513 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.001911, allocations: 0 / 0.9513 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.721e-05/0.001949, allocations: 12 kB / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.00196, allocations: 3.984 kB / 0.9513 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.001984, allocations: 8 kB / 0.9513 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.917e-05/0.002073, allocations: 27.95 kB / 0.9513 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.002075, allocations: 4 kB / 0.9513 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.62e-07/0.002076, allocations: 3.938 kB / 0.9513 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.00208, allocations: 4 kB / 0.9513 GB, free: 2.598 MB / 0.9011 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.0002719/0.002351, allocations: 295.9 kB / 0.9516 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.002386, allocations: 8.031 kB / 0.9516 GB, free: 2.262 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.486e-05/0.002411, allocations: 34.75 kB / 0.9516 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.002435, allocations: 0.9375 kB / 0.9516 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.915e-05/0.002514, allocations: 105.8 kB / 0.9518 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.002524, allocations: 384 / 0.9518 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.002534, allocations: 4.375 kB / 0.9518 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.977e-05/0.002633, allocations: 87.91 kB / 0.9518 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-06/0.00264, allocations: 4.188 kB / 0.9518 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.002648, allocations: 384 / 0.9518 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.002655, allocations: 8.125 kB / 0.9519 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.867e-05/0.002693, allocations: 45.62 kB / 0.9519 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.964e-05/0.002793, allocations: 112.8 kB / 0.952 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.667e-05/0.00285, allocations: 60.27 kB / 0.9521 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.002881, allocations: 46.61 kB / 0.9521 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.58e-06/0.002887, allocations: 0 / 0.9521 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.002906, allocations: 30.56 kB / 0.9521 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 5.31e-07/0.002907, allocations: 0 / 0.9521 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001935/0.0031, allocations: 166.7 kB / 0.9523 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.003137, allocations: 89.03 kB / 0.9524 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.15e-05/0.003189, allocations: 89.86 kB / 0.9525 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.003201, allocations: 29.7 kB / 0.9525 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.118e-05/0.003222, allocations: 80.14 kB / 0.9526 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.003242, allocations: 3.953 kB / 0.9526 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.00327, allocations: 25.72 kB / 0.9526 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.003341, allocations: 314.8 kB / 0.9529 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.046e-05/0.003382, allocations: 37.7 kB / 0.9529 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.003421, allocations: 37.94 kB / 0.953 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.112e-05/0.003502, allocations: 84.31 kB / 0.953 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.003505, allocations: 4 kB / 0.9531 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.869e-05/0.003594, allocations: 125 kB / 0.9532 GB, free: 428 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.003618, allocations: 37.64 kB / 0.9532 GB, free: 384 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.003622, allocations: 0 / 0.9532 GB, free: 384 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.003632, allocations: 0 / 0.9532 GB, free: 384 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.793e-06/0.003634, allocations: 3.938 kB / 0.9532 GB, free: 380 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.003638, allocations: 0 / 0.9532 GB, free: 380 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.947e-05/0.003728, allocations: 11.98 kB / 0.9532 GB, free: 368 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.003736, allocations: 4.031 kB / 0.9532 GB, free: 364 kB / 0.9011 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 6.021e-05/0.003796, allocations: 143.5 kB / 0.9534 GB, free: 204 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-06/0.003804, allocations: 4 kB / 0.9534 GB, free: 200 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.027e-06/0.003813, allocations: 7.141 kB / 0.9534 GB, free: 192 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.003814, allocations: 0 / 0.9534 GB, free: 192 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.003818, allocations: 7.875 kB / 0.9534 GB, free: 184 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.003821, allocations: 0 / 0.9534 GB, free: 184 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.457e-05/0.003875, allocations: 116.8 kB / 0.9535 GB, free: 24 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.003876, allocations: 0 / 0.9535 GB, free: 24 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.003876, allocations: 0 / 0.9535 GB, free: 24 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.003878, allocations: 4 kB / 0.9535 GB, free: 20 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.003887, allocations: 11.98 kB / 0.9535 GB, free: 8 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.003888, allocations: 0 / 0.9535 GB, free: 8 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.003889, allocations: 3.938 kB / 0.9535 GB, free: 4 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.004004, allocations: 148.5 kB / 0.9537 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-06/0.00401, allocations: 4 kB / 0.9537 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.00402, allocations: 0 / 0.9537 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.476e-05/0.004065, allocations: 7.984 kB / 0.9537 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.004079, allocations: 11.94 kB / 0.9537 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.004084, allocations: 4 kB / 0.9537 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.176e-05/0.004105, allocations: 79.31 kB / 0.9538 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004106, allocations: 0 / 0.9538 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000133/0.004239, allocations: 12 kB / 0.9538 GB, free: 15.71 MB / 0.9167 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.0003371/0.004576, allocations: 0.7069 MB / 0.9545 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.004691, allocations: 134.9 kB / 0.9546 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.004693, allocations: 4.062 kB / 0.9546 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.131e-05/0.004734, allocations: 97.09 kB / 0.9547 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001032/0.004837, allocations: 14.38 kB / 0.9547 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.005127, allocations: 168.2 kB / 0.9549 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.198e-05/0.005169, allocations: 55.36 kB / 0.9549 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.72e-05/0.005216, allocations: 11.92 kB / 0.9549 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.005233, allocations: 12.48 kB / 0.9549 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of SimCode: time 2.9e-07/0.005234, allocations: 0 / 0.9549 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01606/0.02129, allocations: 2.653 MB / 0.9575 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.939/6.961, allocations: 2.062 kB / 0.9575 GB, free: 11.88 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.009110808372498]