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.001667/0.001667, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001998/0.001998, allocations: 209.4 kB / 22.24 MB, free: 4.855 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.785 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.757/2.757, allocations: 476 MB / 0.77 GB, free: 4.746 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.002148/0.002148, allocations: 68.72 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3219, allocations: 170 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002006/0.3239, allocations: 0.5663 MB / 1.283 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003352/0.3242, allocations: 99.69 kB / 1.283 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.3243, allocations: 0 / 1.283 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.742e-05/0.3244, allocations: 11.98 kB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.095e-05/0.3244, allocations: 0 / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.3246, allocations: 35.91 kB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.299e-05/0.3247, allocations: 27.98 kB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.3247, allocations: 4.078 kB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.083e-05/0.3248, allocations: 15.92 kB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.753e-05/0.3248, allocations: 15.98 kB / 1.283 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.3248, allocations: 0 / 1.283 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.565e-05/0.3249, allocations: 12 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.3249, allocations: 0 / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.3249, allocations: 11.98 kB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.325, allocations: 37.58 kB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.325, allocations: 0 / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.332e-06/0.325, allocations: 0 / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.325, allocations: 0 / 1.283 GB, free: 11.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.0003434/0.3254, allocations: 283.6 kB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3254, allocations: 16.02 kB / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.3255, allocations: 30.75 kB / 1.284 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.3255, allocations: 12.88 kB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.3256, allocations: 102.5 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3256, allocations: 8.375 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.3256, allocations: 8.375 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.3258, allocations: 79.92 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3258, allocations: 3.938 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3258, allocations: 4 kB / 1.284 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.3258, allocations: 3.938 kB / 1.284 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.55e-05/0.3259, allocations: 37.7 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.326, allocations: 120.8 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.747e-05/0.3261, allocations: 60.23 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.93e-05/0.3261, allocations: 46.61 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.3261, allocations: 0 / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.3262, allocations: 38.56 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.3262, allocations: 0 / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002665/0.3264, allocations: 162.7 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.3265, allocations: 85.05 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.082e-05/0.3266, allocations: 97.84 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3266, allocations: 25.7 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.3266, allocations: 80.14 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.3266, allocations: 4 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.3267, allocations: 25.66 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3268, allocations: 315.1 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.246e-05/0.3269, allocations: 41.7 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.105e-05/0.3269, allocations: 37.69 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.729e-05/0.327, allocations: 84.25 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.327, allocations: 0 / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001501/0.3271, allocations: 121.1 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.3272, allocations: 33.64 kB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3272, allocations: 7.938 kB / 1.285 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3272, allocations: 0 / 1.285 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.3272, allocations: 96 / 1.285 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.3272, allocations: 4 kB / 1.285 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.3273, allocations: 7.984 kB / 1.285 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.3273, allocations: 4 kB / 1.285 GB, free: 9.348 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.3275, allocations: 139.5 kB / 1.285 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.3275, allocations: 11.89 kB / 1.285 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.777e-06/0.3275, allocations: 3.156 kB / 1.285 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3275, allocations: 0 / 1.285 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3275, allocations: 3.984 kB / 1.285 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.3275, allocations: 4 kB / 1.285 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.3276, allocations: 120.8 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3276, allocations: 0 / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3276, allocations: 0 / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3276, allocations: 3.938 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.3276, allocations: 11.98 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.3276, allocations: 0 / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3276, allocations: 0 / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.3278, allocations: 148.5 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.3278, allocations: 7.938 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.3278, allocations: 11.94 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.827e-05/0.3279, allocations: 8.031 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.328, allocations: 7.969 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.328, allocations: 4 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.34e-05/0.328, allocations: 79.28 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.328, allocations: 0 / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001935/0.3282, allocations: 12 kB / 1.286 GB, free: 8.695 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.0005913/0.3288, allocations: 0.7061 MB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.329, allocations: 146.7 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.329, allocations: 0 / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.324e-05/0.329, allocations: 89.09 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.3292, allocations: 14.19 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.3296, allocations: 152.4 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.728e-05/0.3297, allocations: 55.36 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.75e-05/0.3298, allocations: 7.984 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.3298, allocations: 11.56 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of SimCode: time 3.9e-07/0.3298, allocations: 0 / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.3579, allocations: 2.52 MB / 1.289 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.1, allocations: 2.75 kB / 1.289 GB, free: 5.008 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 & /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.637366680894047]