Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_10_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.0008924/0.0008924, allocations: 96.78 kB / 15.36 MB, free: 0.7344 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.005177/0.005177, allocations: 171 kB / 16.27 MB, free: 6.652 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.247/1.247, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.537/2.537, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004776, allocations: 8 kB / 0.873 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5771/0.5776, allocations: 153.8 MB / 1.023 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0006593/0.5783, allocations: 280.8 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002419/0.5786, allocations: 111.7 kB / 1.024 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.05e-05/0.5786, allocations: 0 / 1.024 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.917e-05/0.5787, allocations: 4 kB / 1.024 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.225e-05/0.5788, allocations: 0 / 1.024 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.5789, allocations: 39.84 kB / 1.024 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.29e-05/0.5789, allocations: 23.97 kB / 1.024 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.579, allocations: 11.98 kB / 1.024 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.322e-05/0.579, allocations: 8 kB / 1.024 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.044e-05/0.5791, allocations: 15.97 kB / 1.024 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.5791, allocations: 4 kB / 1.024 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.666e-05/0.5791, allocations: 8 kB / 1.024 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.298e-06/0.5791, allocations: 0 / 1.024 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.5792, allocations: 41.64 kB / 1.024 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.811e-05/0.5793, allocations: 23.95 kB / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.5793, allocations: 4 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5793, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.055e-06/0.5793, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.7794 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.0002556/0.5796, allocations: 349.2 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.5796, allocations: 8.031 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.017e-05/0.5796, allocations: 38.75 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.312e-05/0.5797, allocations: 0.9375 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.5798, allocations: 168.4 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.5798, allocations: 384 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.5798, allocations: 12.31 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.5799, allocations: 50.23 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.5799, allocations: 3.938 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.58, allocations: 4 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.58, allocations: 7.875 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.794e-05/0.58, allocations: 11.98 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/0.5801, allocations: 153.7 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.531e-05/0.5802, allocations: 30.61 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/0.5802, allocations: 20.84 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-06/0.5802, allocations: 0 / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.5803, allocations: 34.56 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.5803, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0002071/0.5805, allocations: 107.3 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.5805, allocations: 85.09 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.101e-05/0.5806, allocations: 97.98 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.5806, allocations: 29.7 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.698e-05/0.5807, allocations: 80.14 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.5807, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.5807, allocations: 13.72 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.5808, allocations: 310.8 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.5808, allocations: 19.92 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.626e-05/0.5809, allocations: 11.98 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.503e-05/0.5809, allocations: 80.45 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.581, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001223/0.5811, allocations: 99.28 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.5811, allocations: 37.64 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.5811, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.5811, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.5811, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.5812, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.5813, allocations: 14.38 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.5813, allocations: 8.031 kB / 1.026 GB, free: 13.33 MB / 0.7794 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.305e-05/0.5814, allocations: 147.5 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.5814, allocations: 11.92 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.406e-06/0.5815, allocations: 3.125 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.5815, allocations: 0 / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.5815, allocations: 0 / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.5815, allocations: 0 / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.306e-05/0.5816, allocations: 149.7 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5816, allocations: 3.984 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.5816, allocations: 3.938 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5816, allocations: 7.938 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.5816, allocations: 8 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.5816, allocations: 3.984 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5816, allocations: 0 / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.5818, allocations: 118.8 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/0.5818, allocations: 85.03 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.5818, allocations: 7.938 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.5819, allocations: 8.031 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.5819, allocations: 0 / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.582, allocations: 7.984 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.931e-05/0.582, allocations: 79.22 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.582, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000203/0.5822, allocations: 16 kB / 1.026 GB, free: 12.57 MB / 0.7794 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.0004583/0.5827, allocations: 0.6782 MB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.5828, allocations: 87.38 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5828, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.813e-05/0.5829, allocations: 83.42 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.583, allocations: 4 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.5834, allocations: 140.3 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.5836, allocations: 0.6731 MB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.393e-05/0.5836, allocations: 7.984 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.308e-05/0.5836, allocations: 7.438 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.5837, allocations: 0 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4519/1.036, allocations: 1.647 MB / 1.029 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002787/1.036, allocations: 235.9 kB / 1.03 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.739, allocations: 3.938 kB / 1.03 GB, free: 9.043 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches