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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001443/0.001443, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001635/0.001635, allocations: 187.9 kB / 16.25 MB, free: 6.621 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.257/1.257, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.467/2.467, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.73 kB / 0.8987 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2415, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001785/0.2433, allocations: 0.6151 MB / 1.053 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002099/0.2435, allocations: 115.6 kB / 1.053 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.742e-05/0.2436, allocations: 4 kB / 1.053 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.464e-05/0.2436, allocations: 0 / 1.053 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.16e-05/0.2437, allocations: 0 / 1.053 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.2438, allocations: 43.91 kB / 1.053 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.003e-05/0.2439, allocations: 27.97 kB / 1.053 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.2439, allocations: 8 kB / 1.053 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.408e-05/0.244, allocations: 15.92 kB / 1.053 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.618e-05/0.244, allocations: 8 kB / 1.053 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.244, allocations: 4 kB / 1.053 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.574e-05/0.2441, allocations: 7.984 kB / 1.053 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.2441, allocations: 3.938 kB / 1.053 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.2441, allocations: 15.98 kB / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.702e-05/0.2442, allocations: 31.95 kB / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2442, allocations: 0 / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2442, allocations: 0 / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.2442, allocations: 0 / 1.053 GB, free: 7.754 MB / 0.8106 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.0003019/0.2445, allocations: 349.3 kB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2446, allocations: 12.62 kB / 1.054 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.749e-05/0.2446, allocations: 34.69 kB / 1.054 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.2447, allocations: 8.938 kB / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.2448, allocations: 168.3 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.2448, allocations: 12.38 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.2448, allocations: 4.375 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.2449, allocations: 50.23 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.2449, allocations: 3.938 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2449, allocations: 4 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.2449, allocations: 0 / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.405e-05/0.245, allocations: 11.98 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.2451, allocations: 149.7 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.391e-05/0.2452, allocations: 34.55 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.2452, allocations: 20.91 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.2452, allocations: 0 / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.2453, allocations: 30.56 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.2453, allocations: 0 / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002102/0.2455, allocations: 111.3 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.2455, allocations: 81.09 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.054e-05/0.2456, allocations: 97.98 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.2456, allocations: 29.64 kB / 1.054 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.2456, allocations: 84.14 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.2457, allocations: 7.906 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.2457, allocations: 17.72 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.2458, allocations: 318.8 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/0.2459, allocations: 8 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.74e-05/0.2459, allocations: 15.98 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.34e-05/0.246, allocations: 80.45 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.246, allocations: 0 / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001258/0.2461, allocations: 95.38 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.2461, allocations: 33.64 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2462, allocations: 3.938 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.2462, allocations: 3.984 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.174e-06/0.2462, allocations: 3.938 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2462, allocations: 4 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.2463, allocations: 8.312 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.2463, allocations: 4 kB / 1.055 GB, free: 5.613 MB / 0.8106 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 8.845e-05/0.2464, allocations: 151.4 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.2465, allocations: 7.938 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.043e-06/0.2465, allocations: 3.125 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.2465, allocations: 0 / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2465, allocations: 0 / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.2465, allocations: 0 / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.25e-05/0.2466, allocations: 153.7 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2466, allocations: 7.984 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.2466, allocations: 0 / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2466, allocations: 7.922 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.2466, allocations: 4 kB / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2466, allocations: 0 / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.2466, allocations: 4 kB / 1.055 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.2468, allocations: 122.8 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.2468, allocations: 77.11 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.2468, allocations: 15.91 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.247, allocations: 4 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.247, allocations: 3.984 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.247, allocations: 4 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.804e-05/0.247, allocations: 83.28 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.247, allocations: 0 / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001899/0.2472, allocations: 16 kB / 1.056 GB, free: 4.855 MB / 0.8106 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.0004811/0.2477, allocations: 0.6772 MB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.2479, allocations: 87.33 kB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2479, allocations: 4.094 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.376e-05/0.2479, allocations: 71.39 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.2481, allocations: 7.938 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.2484, allocations: 134.7 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.2486, allocations: 0.6729 MB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.544e-05/0.2487, allocations: 7.984 kB / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.2487, allocations: 11.38 kB / 1.057 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.2487, allocations: 0 / 1.057 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.446/1.695, allocations: 1.786 MB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/1.695, allocations: 231.9 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/3.594, allocations: 0.5 kB / 1.059 GB, free: 1.199 MB / 0.8106 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=50 --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