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.001262/0.001262, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001391/0.001391, allocations: 220.7 kB / 23.03 MB, free: 4.945 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.374/1.374, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.602/2.602, allocations: 476.8 MB / 0.7715 GB, free: 3.922 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="cs",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.001864/0.001864, allocations: 65.73 kB / 1.118 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3002, allocations: 170 MB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001764/0.302, allocations: 0.5622 MB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002399/0.3022, allocations: 99.83 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.341e-05/0.3022, allocations: 0 / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.56e-05/0.3023, allocations: 11.94 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.456e-05/0.3024, allocations: 0 / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.3025, allocations: 35.95 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.957e-05/0.3026, allocations: 31.92 kB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.3027, allocations: 4 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.834e-05/0.3027, allocations: 15.98 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.007e-05/0.3027, allocations: 15.98 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.3028, allocations: 0 / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.54e-05/0.3028, allocations: 12 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.3028, allocations: 3.984 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.3029, allocations: 15.92 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.958e-05/0.303, allocations: 33.36 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.303, allocations: 0 / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.253e-06/0.303, allocations: 0 / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.303, allocations: 0 / 1.285 GB, free: 9.895 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.0003359/0.3033, allocations: 279.6 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.3033, allocations: 8.031 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.314e-05/0.3034, allocations: 4.188 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.734e-05/0.3034, allocations: 30.75 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.3034, allocations: 4.938 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.3035, allocations: 110.5 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3035, allocations: 8.375 kB / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.3035, allocations: 8.312 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.3037, allocations: 87.61 kB / 1.285 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.3037, allocations: 0 / 1.285 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.3037, allocations: 4 kB / 1.285 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.3037, allocations: 4 kB / 1.285 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.312e-05/0.3038, allocations: 37.69 kB / 1.285 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.3039, allocations: 120.8 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.925e-05/0.304, allocations: 56.3 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/0.304, allocations: 46.55 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.304, allocations: 7.938 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.3041, allocations: 42.5 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3041, allocations: 0 / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002546/0.3043, allocations: 158.7 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.3044, allocations: 81.11 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.622e-05/0.3045, allocations: 97.86 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.3045, allocations: 25.7 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.3045, allocations: 80.14 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.3045, allocations: 4 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.3046, allocations: 29.95 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3047, allocations: 310.8 kB / 1.286 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.997e-05/0.3048, allocations: 41.69 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.176e-05/0.3048, allocations: 41.62 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.898e-05/0.3049, allocations: 80.27 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3049, allocations: 0 / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001523/0.3051, allocations: 121.1 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.3051, allocations: 33.64 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3051, allocations: 0 / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3051, allocations: 4.094 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.3051, allocations: 4 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3051, allocations: 3.984 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.3052, allocations: 4 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.3052, allocations: 4 kB / 1.287 GB, free: 7.66 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 9.32e-05/0.3053, allocations: 139.5 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.3054, allocations: 19.83 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.804e-06/0.3054, allocations: 3.156 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.3054, allocations: 0 / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3054, allocations: 3.938 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.3054, allocations: 8 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.372e-05/0.3055, allocations: 120.8 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.3055, allocations: 0 / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.3055, allocations: 0 / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.3055, allocations: 3.938 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3055, allocations: 4 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.3055, allocations: 0 / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3055, allocations: 0 / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.3057, allocations: 148.5 kB / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-06/0.3057, allocations: 3.938 kB / 1.287 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.3057, allocations: 4.031 kB / 1.287 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3058, allocations: 11.98 kB / 1.287 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.3058, allocations: 8 kB / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3058, allocations: 7.938 kB / 1.287 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.713e-05/0.3059, allocations: 79.28 kB / 1.287 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3059, allocations: 3.938 kB / 1.287 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001918/0.306, allocations: 12 kB / 1.287 GB, free: 7.004 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.0005996/0.3066, allocations: 0.7084 MB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001686/0.3068, allocations: 142.8 kB / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3068, allocations: 0 / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.867e-05/0.3069, allocations: 93.03 kB / 1.288 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.307, allocations: 8 kB / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.3074, allocations: 160.4 kB / 1.288 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.841e-05/0.3075, allocations: 59.47 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.232e-05/0.3076, allocations: 4 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.3076, allocations: 11.44 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3076, allocations: 0 / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.3294, allocations: 2.165 MB / 1.291 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.89, allocations: 12.67 kB / 1.291 GB, free: 3.672 MB / 0.9825 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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.025332720018923]