Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001621/0.001621, 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.002029/0.002029, allocations: 212.3 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.21/3.21, allocations: 0.4892 GB / 0.7943 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_12_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.002285/0.002285, allocations: 70.02 kB / 1.153 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3394, allocations: 176.1 MB / 1.325 GB, free: 2.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002072/0.3415, allocations: 0.5655 MB / 1.326 GB, free: 1.773 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002751/0.3418, allocations: 111.7 kB / 1.326 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.3418, allocations: 0 / 1.326 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.342, allocations: 3.938 kB / 1.326 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.3422, allocations: 0 / 1.326 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.3424, allocations: 39.91 kB / 1.326 GB, free: 1.621 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.656e-05/0.3425, allocations: 27.92 kB / 1.326 GB, free: 1.594 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.3426, allocations: 11.91 kB / 1.326 GB, free: 1.582 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.6e-05/0.3426, allocations: 19.98 kB / 1.326 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.35e-05/0.3427, allocations: 11.98 kB / 1.326 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.3427, allocations: 0 / 1.326 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.631e-05/0.3427, allocations: 8 kB / 1.326 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.3427, allocations: 0 / 1.326 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.3428, allocations: 19.92 kB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.3429, allocations: 28.17 kB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3429, allocations: 4 kB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3429, allocations: 0 / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3429, allocations: 0 / 1.326 GB, free: 1.492 MB / 1.014 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.000358/0.3433, allocations: 277.5 kB / 1.326 GB, free: 1.184 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3433, allocations: 16.02 kB / 1.326 GB, free: 1.168 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.186e-05/0.3433, allocations: 30.75 kB / 1.326 GB, free: 1.129 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.3434, allocations: 4.938 kB / 1.326 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3435, allocations: 110.5 kB / 1.326 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3435, allocations: 4.375 kB / 1.326 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.3435, allocations: 4.375 kB / 1.326 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.3437, allocations: 91.86 kB / 1.326 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3437, allocations: 3.938 kB / 1.326 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3437, allocations: 0 / 1.326 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3437, allocations: 0 / 1.326 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.227e-05/0.3437, allocations: 33.7 kB / 1.326 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.3439, allocations: 124.8 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.802e-05/0.344, allocations: 60.23 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.344, allocations: 42.61 kB / 1.327 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.344, allocations: 4 kB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.3441, allocations: 34.5 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.163e-06/0.3441, allocations: 4 kB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0002785/0.3443, allocations: 162.7 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.3444, allocations: 77.11 kB / 1.327 GB, free: 228 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.751e-05/0.3445, allocations: 101.8 kB / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3445, allocations: 25.7 kB / 1.327 GB, free: 84 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.3446, allocations: 84.14 kB / 1.327 GB, free: 16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.3446, allocations: 0 / 1.327 GB, free: 16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.3446, allocations: 21.72 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3448, allocations: 318.8 kB / 1.327 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.469e-05/0.3448, allocations: 33.95 kB / 1.327 GB, free: 15.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-05/0.3449, allocations: 45.69 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.733e-05/0.345, allocations: 84.19 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.345, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000161/0.3451, allocations: 125 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.3452, allocations: 37.64 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3452, allocations: 0 / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3452, allocations: 0 / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.3452, allocations: 0 / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3452, allocations: 0 / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.3453, allocations: 16.03 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.3454, allocations: 4 kB / 1.328 GB, free: 15.26 MB / 1.029 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.0001145/0.3455, allocations: 135.5 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.3455, allocations: 7.938 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.3455, allocations: 11.16 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3455, allocations: 0 / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.3455, allocations: 3.984 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3455, allocations: 0 / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.3456, allocations: 124.7 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3456, allocations: 0 / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.031e-06/0.3456, allocations: 4 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3456, allocations: 3.938 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.3457, allocations: 7.984 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3457, allocations: 3.938 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3457, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.3458, allocations: 148.5 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-06/0.3459, allocations: 0 / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.3459, allocations: 7.938 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.346, allocations: 4 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.346, allocations: 7.984 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.346, allocations: 8.031 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.624e-05/0.3461, allocations: 79.28 kB / 1.328 GB, free: 14.61 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3461, allocations: 0 / 1.328 GB, free: 14.61 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001956/0.3463, allocations: 12 kB / 1.328 GB, free: 14.6 MB / 1.029 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.0006501/0.3469, allocations: 0.7087 MB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.3471, allocations: 138.9 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3471, allocations: 0 / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.69e-05/0.3472, allocations: 97.09 kB / 1.329 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.3473, allocations: 4 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.3478, allocations: 172.3 kB / 1.329 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.3479, allocations: 55.3 kB / 1.329 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.264e-05/0.348, allocations: 7.984 kB / 1.329 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.348, allocations: 7.438 kB / 1.329 GB, free: 13.27 MB / 1.029 GB Notification: Performance of SimCode: time 8.72e-07/0.348, allocations: 128 / 1.329 GB, free: 13.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.3803, allocations: 2.523 MB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.58, allocations: 13.3 kB / 1.332 GB, free: 10.89 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.358401369769126]