Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004783/0.004783, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 202.5 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.885/2.885, allocations: 482.6 MB / 0.755 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 68.11 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3258, allocations: 162.3 MB / 1.242 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001812/0.3276, allocations: 0.5524 MB / 1.242 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003455/0.328, allocations: 111.7 kB / 1.243 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.219e-05/0.3281, allocations: 0 / 1.243 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.225e-05/0.3282, allocations: 15.97 kB / 1.243 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.283e-05/0.3283, allocations: 3.938 kB / 1.243 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.3285, allocations: 27.97 kB / 1.243 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.038e-05/0.3285, allocations: 27.98 kB / 1.243 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.38e-05/0.3286, allocations: 0 / 1.243 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.904e-05/0.3286, allocations: 19.97 kB / 1.243 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.943e-05/0.3287, allocations: 19.92 kB / 1.243 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3287, allocations: 0 / 1.243 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.098e-05/0.3287, allocations: 8 kB / 1.243 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.187e-06/0.3288, allocations: 0 / 1.243 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.3288, allocations: 19.92 kB / 1.243 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.83e-05/0.3289, allocations: 31.89 kB / 1.243 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3289, allocations: 0 / 1.243 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3289, allocations: 0 / 1.243 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.3289, allocations: 4 kB / 1.243 GB, free: 9.031 MB / 0.9981 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.0003679/0.3293, allocations: 359.1 kB / 1.243 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3293, allocations: 8.031 kB / 1.243 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.3294, allocations: 38.75 kB / 1.243 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.3294, allocations: 4.891 kB / 1.243 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.3296, allocations: 168.4 kB / 1.243 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3296, allocations: 384 / 1.243 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.3296, allocations: 8.312 kB / 1.243 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.3297, allocations: 58.23 kB / 1.243 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3297, allocations: 7.922 kB / 1.243 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.3298, allocations: 0 / 1.243 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3298, allocations: 0 / 1.243 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.497e-05/0.3298, allocations: 11.94 kB / 1.243 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.33, allocations: 153.7 kB / 1.243 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.993e-05/0.33, allocations: 30.59 kB / 1.243 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.3301, allocations: 16.91 kB / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.3301, allocations: 4 kB / 1.244 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.3301, allocations: 34.56 kB / 1.244 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3301, allocations: 0 / 1.244 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0002468/0.3304, allocations: 115.2 kB / 1.244 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.3304, allocations: 81.11 kB / 1.244 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/0.3305, allocations: 93.86 kB / 1.244 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3305, allocations: 29.95 kB / 1.244 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.3306, allocations: 88.12 kB / 1.244 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.3306, allocations: 7.938 kB / 1.244 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.3307, allocations: 21.72 kB / 1.244 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3308, allocations: 310.8 kB / 1.244 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.45e-05/0.3309, allocations: 11.98 kB / 1.244 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-05/0.331, allocations: 8 kB / 1.244 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.645e-05/0.3311, allocations: 84.19 kB / 1.244 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3311, allocations: 4.062 kB / 1.244 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001406/0.3313, allocations: 103.3 kB / 1.244 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/0.3313, allocations: 38.89 kB / 1.244 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3313, allocations: 0 / 1.244 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.3313, allocations: 0 / 1.244 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.3313, allocations: 0 / 1.244 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3313, allocations: 0 / 1.244 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.3315, allocations: 7.984 kB / 1.244 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.3315, allocations: 7.938 kB / 1.245 GB, free: 6.879 MB / 0.9981 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.0001052/0.3316, allocations: 140.1 kB / 1.245 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.3316, allocations: 7.938 kB / 1.245 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.118e-05/0.3316, allocations: 7.125 kB / 1.245 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3316, allocations: 4 kB / 1.245 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3317, allocations: 7.922 kB / 1.245 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-06/0.3317, allocations: 0 / 1.245 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.3318, allocations: 149.7 kB / 1.245 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3318, allocations: 0 / 1.245 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.3318, allocations: 0 / 1.245 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3318, allocations: 3.938 kB / 1.245 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.3318, allocations: 8 kB / 1.245 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.3318, allocations: 4 kB / 1.245 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3318, allocations: 3.938 kB / 1.245 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.332, allocations: 122.8 kB / 1.245 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.3321, allocations: 77.11 kB / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.3321, allocations: 7.922 kB / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3322, allocations: 4 kB / 1.245 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.3322, allocations: 8.031 kB / 1.245 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.3322, allocations: 8 kB / 1.245 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.883e-05/0.3323, allocations: 79.27 kB / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3323, allocations: 0 / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001904/0.3325, allocations: 12 kB / 1.245 GB, free: 6.129 MB / 0.9981 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.0005754/0.3331, allocations: 0.672 MB / 1.246 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.3332, allocations: 83.38 kB / 1.246 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3332, allocations: 0 / 1.246 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.883e-05/0.3333, allocations: 67.41 kB / 1.246 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.3334, allocations: 10.95 kB / 1.246 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005985/0.334, allocations: 142.5 kB / 1.246 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.3344, allocations: 0.6729 MB / 1.247 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.555e-05/0.3345, allocations: 11.88 kB / 1.247 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.593e-05/0.3345, allocations: 7.438 kB / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.3345, allocations: 0 / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2592/0.5937, allocations: 1.886 MB / 1.249 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.25, allocations: 9.828 kB / 1.249 GB, free: 2.598 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches