Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_9_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.001838/0.001843, 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.00217/0.00217, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.491/2.491, allocations: 390.3 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 67.89 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7915/0.7939, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001777/0.7957, allocations: 0.5469 MB / 0.9503 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001936/0.7959, allocations: 106 kB / 0.9504 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.7959, allocations: 0 / 0.9504 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.161e-05/0.796, allocations: 9.25 kB / 0.9504 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.46e-05/0.7961, allocations: 5.188 kB / 0.9504 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.7962, allocations: 32.28 kB / 0.9504 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.02e-05/0.7963, allocations: 27.22 kB / 0.9504 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.7964, allocations: 14.2 kB / 0.9504 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.795e-05/0.7964, allocations: 7.875 kB / 0.9505 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.197e-05/0.7965, allocations: 17.81 kB / 0.9505 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.7965, allocations: 1.188 kB / 0.9505 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.135e-05/0.7965, allocations: 11.06 kB / 0.9505 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.7966, allocations: 4 kB / 0.9505 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.7966, allocations: 12.44 kB / 0.9505 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.7967, allocations: 27.64 kB / 0.9505 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7967, allocations: 0 / 0.9505 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7967, allocations: 0 / 0.9505 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.7967, allocations: 0 / 0.9505 GB, free: 8.605 MB / 0.7169 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.0002727/0.797, allocations: 352.5 kB / 0.9509 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.7971, allocations: 10.72 kB / 0.9509 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.549e-05/0.7971, allocations: 36.11 kB / 0.9509 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.7971, allocations: 12.66 kB / 0.9509 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.521e-05/0.7972, allocations: 160.4 kB / 0.9511 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.7972, allocations: 6.875 kB / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.7973, allocations: 8.125 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.7974, allocations: 52.42 kB / 0.9511 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.7974, allocations: 7.922 kB / 0.9511 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.7974, allocations: 1.469 kB / 0.9511 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.7974, allocations: 0 / 0.9511 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.205e-05/0.7975, allocations: 11.3 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001105/0.7976, allocations: 157.6 kB / 0.9513 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.038e-05/0.7976, allocations: 35.66 kB / 0.9513 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.684e-05/0.7977, allocations: 16.48 kB / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.7977, allocations: 4.969 kB / 0.9514 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.7977, allocations: 36.05 kB / 0.9514 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.7977, allocations: 0 / 0.9514 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002363/0.798, allocations: 112.8 kB / 0.9515 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.798, allocations: 80.2 kB / 0.9516 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.057e-05/0.7981, allocations: 91.92 kB / 0.9517 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.7981, allocations: 27.98 kB / 0.9517 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.414e-05/0.7981, allocations: 80.14 kB / 0.9518 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.7981, allocations: 6.031 kB / 0.9518 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.7982, allocations: 25.86 kB / 0.9518 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.205e-05/0.7982, allocations: 316.8 kB / 0.9521 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.096e-05/0.7983, allocations: 14.42 kB / 0.9521 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.64e-05/0.7983, allocations: 11.41 kB / 0.9521 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.486e-05/0.7984, allocations: 78.47 kB / 0.9522 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.7984, allocations: 0 / 0.9522 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001175/0.7985, allocations: 100.3 kB / 0.9523 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.7985, allocations: 34.8 kB / 0.9523 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.7985, allocations: 1.156 kB / 0.9523 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.7986, allocations: 0 / 0.9523 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.7986, allocations: 4.094 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.7986, allocations: 1.312 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.7987, allocations: 14.77 kB / 0.9523 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.7987, allocations: 6.469 kB / 0.9524 GB, free: 6.652 MB / 0.7169 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 6.461e-05/0.7988, allocations: 137.7 kB / 0.9525 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.7988, allocations: 6.875 kB / 0.9525 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.067e-06/0.7988, allocations: 4.594 kB / 0.9525 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.7988, allocations: 0 / 0.9525 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7989, allocations: 0 / 0.9525 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7989, allocations: 6.219 kB / 0.9525 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.378e-05/0.7989, allocations: 155.7 kB / 0.9527 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.7989, allocations: 0 / 0.9527 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-06/0.7989, allocations: 2 kB / 0.9527 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.7989, allocations: 3.938 kB / 0.9527 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.799, allocations: 5.875 kB / 0.9527 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.799, allocations: 1.344 kB / 0.9527 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.799, allocations: 0 / 0.9527 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.7991, allocations: 129 kB / 0.9528 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.7991, allocations: 78.23 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.7992, allocations: 5.688 kB / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.7993, allocations: 9.109 kB / 0.9529 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.7993, allocations: 9.219 kB / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.7993, allocations: 2.719 kB / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.029e-05/0.7993, allocations: 82.03 kB / 0.953 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7993, allocations: 0 / 0.953 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001978/0.7995, allocations: 20.73 kB / 0.953 GB, free: 5.973 MB / 0.7169 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.0004131/0.8, allocations: 0.6745 MB / 0.9536 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.8001, allocations: 84.11 kB / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8001, allocations: 0 / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.856e-05/0.8002, allocations: 76.45 kB / 0.9538 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.8003, allocations: 4.344 kB / 0.9538 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.8007, allocations: 140.3 kB / 0.9539 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.491e-05/0.8008, allocations: 0.6778 MB / 0.9546 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.405e-05/0.8009, allocations: 4.031 kB / 0.9546 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.347e-05/0.8009, allocations: 11.44 kB / 0.9546 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8009, allocations: 0 / 0.9546 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.8177, allocations: 1.862 MB / 0.9564 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/8.376, allocations: 5.094 kB / 0.9564 GB, free: 3.297 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches