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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001388/0.001388, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.654/2.654, allocations: 437.1 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 67.89 kB / 0.8694 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7713/0.7728, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002086/0.775, allocations: 0.5482 MB / 1.018 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002618/0.7753, allocations: 119.6 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.7753, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.05e-05/0.7754, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.122e-05/0.7755, allocations: 7.938 kB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.7757, allocations: 31.97 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.7759, allocations: 27.92 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.577e-05/0.776, allocations: 7.984 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.15e-05/0.776, allocations: 15.98 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.298e-05/0.7761, allocations: 7.984 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.7761, allocations: 4 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.079e-05/0.7762, allocations: 12 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.7762, allocations: 0 / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.7762, allocations: 15.92 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.7763, allocations: 27.95 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7764, allocations: 0 / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7764, allocations: 0 / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.7764, allocations: 0 / 1.018 GB, free: 1.699 MB / 0.7637 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.0003407/0.7767, allocations: 361.2 kB / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.7768, allocations: 12.03 kB / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/0.7768, allocations: 30.75 kB / 1.019 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.7768, allocations: 8.938 kB / 1.019 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.777, allocations: 160.4 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.777, allocations: 4.375 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.777, allocations: 8.312 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.7771, allocations: 58.16 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.7772, allocations: 3.938 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.7772, allocations: 4 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.7772, allocations: 4 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.874e-05/0.7772, allocations: 11.94 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.7774, allocations: 153.7 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.833e-05/0.7774, allocations: 34.59 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.7775, allocations: 20.91 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.7775, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.7775, allocations: 30.56 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.7775, allocations: 3.938 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0002818/0.7778, allocations: 111.3 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.7779, allocations: 81.11 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.048e-05/0.778, allocations: 93.86 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.778, allocations: 25.7 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/0.778, allocations: 88.12 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.7781, allocations: 3.906 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.7781, allocations: 21.72 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.7782, allocations: 311.1 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.332e-05/0.7783, allocations: 19.98 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.672e-05/0.7783, allocations: 8 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.041e-05/0.7784, allocations: 84.19 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.7784, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001382/0.7785, allocations: 95.38 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.7786, allocations: 33.64 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.7786, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.7786, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.7786, allocations: 4.094 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.7786, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.7788, allocations: 14.23 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.7788, allocations: 4 kB / 1.02 GB, free: 15.55 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 0.0002341/0.779, allocations: 139.5 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.779, allocations: 7.938 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.036e-05/0.7791, allocations: 3.125 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.7791, allocations: 3.984 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.7791, allocations: 3.938 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.7791, allocations: 4 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.333e-05/0.7792, allocations: 153.7 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7792, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-06/0.7792, allocations: 3.938 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.7792, allocations: 3.938 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.7792, allocations: 8 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.7792, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7792, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.7794, allocations: 126.8 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.7794, allocations: 77.11 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.7795, allocations: 15.86 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.7796, allocations: 8 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.7796, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.7796, allocations: 4 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.607e-05/0.7796, allocations: 83.27 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7796, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002044/0.7799, allocations: 16.12 kB / 1.021 GB, free: 14.79 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.0005302/0.7804, allocations: 0.6777 MB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.7806, allocations: 95.41 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7806, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.985e-05/0.7806, allocations: 71.39 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.7808, allocations: 4 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.7812, allocations: 144.8 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.7815, allocations: 0.6729 MB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.486e-05/0.7816, allocations: 4.125 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.7816, allocations: 11.44 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.7816, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5307/1.312, allocations: 1.84 MB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.798/10.11, allocations: 21.23 kB / 1.024 GB, free: 11.27 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