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.00162/0.00162, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001962/0.001962, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.44/1.44, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.845/2.845, allocations: 476.7 MB / 0.7672 GB, free: 5.234 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.002005/0.002005, allocations: 71.89 kB / 1.112 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7771/0.7791, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001936/0.7811, allocations: 0.5542 MB / 1.279 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002657/0.7813, allocations: 115.6 kB / 1.279 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.7814, allocations: 0 / 1.279 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.557e-05/0.7815, allocations: 0 / 1.279 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.884e-05/0.7815, allocations: 11.94 kB / 1.279 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.7817, allocations: 43.88 kB / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.295e-05/0.7818, allocations: 19.98 kB / 1.279 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.7818, allocations: 4 kB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.6e-05/0.7818, allocations: 15.98 kB / 1.279 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.7819, allocations: 15.97 kB / 1.279 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.7819, allocations: 7.938 kB / 1.279 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.847e-05/0.7819, allocations: 8 kB / 1.279 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.782, allocations: 7.938 kB / 1.279 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.782, allocations: 8 kB / 1.279 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.596e-05/0.7821, allocations: 25.78 kB / 1.279 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.7821, allocations: 4 kB / 1.279 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7821, allocations: 0 / 1.279 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.7821, allocations: 0 / 1.279 GB, free: 12.59 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.0003976/0.7825, allocations: 353.2 kB / 1.279 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.7825, allocations: 8.031 kB / 1.279 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.533e-05/0.7826, allocations: 34.69 kB / 1.279 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.7826, allocations: 16.92 kB / 1.279 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.7828, allocations: 164.4 kB / 1.28 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.7828, allocations: 4.375 kB / 1.28 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.7828, allocations: 4.375 kB / 1.28 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.7829, allocations: 50.23 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.7829, allocations: 3.938 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.7829, allocations: 4 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.7829, allocations: 0 / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.415e-05/0.783, allocations: 19.91 kB / 1.28 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.7831, allocations: 153.7 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.813e-05/0.7832, allocations: 30.56 kB / 1.28 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.7832, allocations: 12.92 kB / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.7832, allocations: 0 / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.7833, allocations: 34.56 kB / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.7833, allocations: 0 / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002545/0.7835, allocations: 123.2 kB / 1.28 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.7836, allocations: 81.11 kB / 1.28 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.355e-05/0.7837, allocations: 93.86 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.7837, allocations: 29.7 kB / 1.28 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.7837, allocations: 80.14 kB / 1.28 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.7837, allocations: 7.938 kB / 1.28 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.7838, allocations: 33.64 kB / 1.28 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.7839, allocations: 315.1 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.784, allocations: 11.98 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.687e-05/0.784, allocations: 8 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.969e-05/0.7841, allocations: 80.25 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7841, allocations: 3.938 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001506/0.7842, allocations: 95.39 kB / 1.281 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.7843, allocations: 41.62 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.7843, allocations: 0 / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.7843, allocations: 0 / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.7843, allocations: 4.094 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/0.7843, allocations: 0 / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.7844, allocations: 4 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.7844, allocations: 7.984 kB / 1.281 GB, free: 10.44 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.0001084/0.7846, allocations: 142.2 kB / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.7846, allocations: 11.89 kB / 1.281 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.387e-05/0.7846, allocations: 7.125 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.7846, allocations: 4 kB / 1.281 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.7846, allocations: 4 kB / 1.281 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.7846, allocations: 0 / 1.281 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.7847, allocations: 157.6 kB / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.7847, allocations: 0 / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.7847, allocations: 0 / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.7847, allocations: 3.938 kB / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.7847, allocations: 4 kB / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.7847, allocations: 0 / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.7847, allocations: 7.938 kB / 1.281 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.7849, allocations: 126.8 kB / 1.281 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.785, allocations: 77.11 kB / 1.281 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.785, allocations: 3.938 kB / 1.281 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.7851, allocations: 7.984 kB / 1.281 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.7851, allocations: 4 kB / 1.281 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.7851, allocations: 8 kB / 1.281 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.882e-05/0.7851, allocations: 75.28 kB / 1.282 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7851, allocations: 128 / 1.282 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001959/0.7853, allocations: 16 kB / 1.282 GB, free: 9.684 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.000703/0.786, allocations: 0.68 MB / 1.282 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001567/0.7862, allocations: 83.39 kB / 1.282 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7862, allocations: 3.938 kB / 1.282 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.542e-05/0.7863, allocations: 71.39 kB / 1.282 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.7864, allocations: 4 kB / 1.282 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.7868, allocations: 140.9 kB / 1.282 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.7871, allocations: 0.6767 MB / 1.283 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.499e-05/0.7872, allocations: 8.062 kB / 1.283 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.7872, allocations: 15.38 kB / 1.283 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.7872, allocations: 0 / 1.283 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.811, allocations: 1.889 MB / 1.285 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/8.898, allocations: 9.281 kB / 1.285 GB, free: 6.141 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.03632208891213]