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.001656/0.001656, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002/0.002, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.746 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.846/2.846, allocations: 476 MB / 0.7699 GB, free: 4.715 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.002058/0.002058, allocations: 67.45 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.3001, allocations: 169.9 MB / 1.283 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002137/0.3022, allocations: 0.5651 MB / 1.283 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002626/0.3025, allocations: 103.7 kB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.3025, allocations: 4 kB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.3026, allocations: 8 kB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.996e-05/0.3027, allocations: 3.984 kB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.3028, allocations: 31.91 kB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.024e-05/0.3029, allocations: 27.98 kB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.303, allocations: 4.031 kB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.108e-05/0.303, allocations: 11.98 kB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.547e-05/0.3031, allocations: 23.97 kB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3031, allocations: 0 / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.626e-05/0.3031, allocations: 12 kB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.3032, allocations: 0 / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.3032, allocations: 11.98 kB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.3033, allocations: 31.42 kB / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3033, allocations: 0 / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3033, allocations: 0 / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.3033, allocations: 0 / 1.283 GB, free: 11.54 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.000406/0.3037, allocations: 281.8 kB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3038, allocations: 12.03 kB / 1.284 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.3038, allocations: 38.69 kB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.3038, allocations: 12.88 kB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.304, allocations: 110.5 kB / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.304, allocations: 4.375 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.304, allocations: 4.375 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.3041, allocations: 75.94 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3042, allocations: 3.938 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3042, allocations: 4 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3042, allocations: 0 / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.651e-05/0.3042, allocations: 41.69 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.3044, allocations: 124.8 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.48e-05/0.3045, allocations: 60.23 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.3045, allocations: 42.62 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.662e-06/0.3045, allocations: 3.984 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.3046, allocations: 34.56 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3046, allocations: 0 / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003022/0.3049, allocations: 170.6 kB / 1.284 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.3049, allocations: 85.05 kB / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.287e-05/0.305, allocations: 97.84 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.3051, allocations: 29.95 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.3051, allocations: 80.14 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.3051, allocations: 4 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.3052, allocations: 21.72 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.3053, allocations: 310.8 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.258e-05/0.3054, allocations: 41.69 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-05/0.3054, allocations: 37.69 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.627e-05/0.3055, allocations: 84.25 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3055, allocations: 0 / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002038/0.3057, allocations: 121.1 kB / 1.285 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.3058, allocations: 41.66 kB / 1.285 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3058, allocations: 4 kB / 1.285 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3058, allocations: 0 / 1.285 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.3058, allocations: 0 / 1.285 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3058, allocations: 0 / 1.285 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.306, allocations: 4 kB / 1.285 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.306, allocations: 7.984 kB / 1.285 GB, free: 9.297 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.0001092/0.3061, allocations: 139.5 kB / 1.285 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.3061, allocations: 11.89 kB / 1.285 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.698e-06/0.3061, allocations: 7.156 kB / 1.285 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3061, allocations: 0 / 1.285 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3061, allocations: 0 / 1.285 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3061, allocations: 4 kB / 1.285 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.3062, allocations: 124.8 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3063, allocations: 3.938 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.3063, allocations: 0 / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3063, allocations: 3.938 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.3063, allocations: 8 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3063, allocations: 0 / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3063, allocations: 0 / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.3065, allocations: 156.4 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.233e-06/0.3065, allocations: 4 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.3065, allocations: 7.938 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.3066, allocations: 7.938 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.3066, allocations: 0 / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.3066, allocations: 7.984 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.486e-05/0.3067, allocations: 79.28 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3067, allocations: 0 / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002205/0.3069, allocations: 12 kB / 1.286 GB, free: 8.645 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.0006284/0.3075, allocations: 0.6975 MB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001855/0.3077, allocations: 146.7 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3077, allocations: 0 / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.826e-05/0.3078, allocations: 89.09 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.3079, allocations: 13.72 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.3084, allocations: 156.5 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.011e-05/0.3085, allocations: 55.36 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.3086, allocations: 7.984 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.3086, allocations: 7.438 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.3086, allocations: 0 / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.3401, allocations: 2.521 MB / 1.289 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.42, allocations: 6.734 kB / 1.289 GB, free: 4.957 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: 18.105055316817015]