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.008129/0.008128, allocations: 98.67 kB / 15.73 MB, free: 6.039 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.001844/0.001844, allocations: 202.7 kB / 16.68 MB, free: 5.965 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.628/2.628, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 68.11 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2831, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001904/0.285, allocations: 0.5524 MB / 1.208 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002481/0.2853, allocations: 107.7 kB / 1.208 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.2853, allocations: 0 / 1.208 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.962e-05/0.2855, allocations: 11.98 kB / 1.208 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.368e-05/0.2855, allocations: 3.938 kB / 1.208 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.2857, allocations: 27.97 kB / 1.208 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.35e-05/0.2858, allocations: 27.97 kB / 1.208 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.787e-05/0.2859, allocations: 4 kB / 1.208 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.179e-05/0.2859, allocations: 15.98 kB / 1.208 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.95e-05/0.286, allocations: 23.91 kB / 1.208 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.286, allocations: 0 / 1.208 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.548e-05/0.286, allocations: 12 kB / 1.208 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.286, allocations: 0 / 1.208 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.2861, allocations: 11.94 kB / 1.208 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.2862, allocations: 27.95 kB / 1.208 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2862, allocations: 0 / 1.208 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2862, allocations: 0 / 1.208 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2862, allocations: 0 / 1.208 GB, free: 9.312 MB / 0.9669 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.0003549/0.2866, allocations: 361.3 kB / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2866, allocations: 8.625 kB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.847e-05/0.2867, allocations: 34.75 kB / 1.208 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.2867, allocations: 4.938 kB / 1.208 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.2868, allocations: 164.3 kB / 1.209 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.2868, allocations: 384 / 1.209 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.2869, allocations: 8.312 kB / 1.209 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.287, allocations: 58.22 kB / 1.209 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.287, allocations: 7.938 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.287, allocations: 4 kB / 1.209 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.287, allocations: 3.938 kB / 1.209 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.668e-05/0.2871, allocations: 8 kB / 1.209 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001212/0.2872, allocations: 153.7 kB / 1.209 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.638e-05/0.2872, allocations: 26.59 kB / 1.209 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/0.2873, allocations: 24.91 kB / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-06/0.2873, allocations: 0 / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.2873, allocations: 34.56 kB / 1.209 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 2.685e-06/0.2873, allocations: 3.984 kB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002204/0.2876, allocations: 111.2 kB / 1.209 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.2876, allocations: 81.11 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.471e-05/0.2877, allocations: 93.86 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.2877, allocations: 29.64 kB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.2877, allocations: 84.38 kB / 1.209 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.2878, allocations: 8 kB / 1.209 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.2878, allocations: 21.72 kB / 1.209 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.692e-05/0.2879, allocations: 310.8 kB / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.307e-05/0.2879, allocations: 15.98 kB / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.521e-05/0.288, allocations: 8 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.607e-05/0.2881, allocations: 84.19 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2881, allocations: 0 / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000132/0.2882, allocations: 99.44 kB / 1.21 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.2882, allocations: 37.64 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.2882, allocations: 0 / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.2883, allocations: 0 / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.535e-06/0.2883, allocations: 4 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2883, allocations: 0 / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.2884, allocations: 8.266 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.2884, allocations: 8 kB / 1.21 GB, free: 7.164 MB / 0.9669 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.768e-05/0.2885, allocations: 147.5 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.2886, allocations: 11.84 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.839e-06/0.2886, allocations: 3.125 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2886, allocations: 3.984 kB / 1.21 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2886, allocations: 3.938 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2886, allocations: 0 / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.721e-05/0.2887, allocations: 153.7 kB / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2887, allocations: 0 / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.2887, allocations: 0 / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2887, allocations: 3.938 kB / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2887, allocations: 4 kB / 1.21 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.2887, allocations: 7.938 kB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2887, allocations: 0 / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.2889, allocations: 122.8 kB / 1.21 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.2889, allocations: 77.11 kB / 1.21 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2889, allocations: 11.92 kB / 1.21 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.289, allocations: 4 kB / 1.21 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.2891, allocations: 0 / 1.21 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.2891, allocations: 8.031 kB / 1.21 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.109e-05/0.2891, allocations: 79.27 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2891, allocations: 0 / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002023/0.2893, allocations: 20 kB / 1.211 GB, free: 6.41 MB / 0.9669 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.0005298/0.2899, allocations: 0.6834 MB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.29, allocations: 83.38 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.29, allocations: 0 / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.619e-05/0.2901, allocations: 71.41 kB / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.2902, allocations: 9.859 kB / 1.211 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.2907, allocations: 144.5 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.2909, allocations: 0.6767 MB / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.454e-05/0.291, allocations: 4 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.291, allocations: 7.438 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of SimCode: time 1.9e-07/0.291, allocations: 0 / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.3088, allocations: 1.894 MB / 1.214 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.392/7.701, allocations: 4.062 kB / 1.214 GB, free: 2.867 MB / 0.9669 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