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.006747/0.006746, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001258/0.001258, allocations: 197.2 kB / 16.67 MB, free: 5.93 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.294/2.294, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 75.88 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9566/0.958, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001853/0.9599, allocations: 0.5498 MB / 1.088 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002486/0.9602, allocations: 111.4 kB / 1.088 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.966e-05/0.9602, allocations: 0 / 1.088 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.9603, allocations: 6.125 kB / 1.088 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.9604, allocations: 0 / 1.088 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.9605, allocations: 40.14 kB / 1.088 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.029e-05/0.9606, allocations: 26.44 kB / 1.088 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.9607, allocations: 2.422 kB / 1.088 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.199e-05/0.9607, allocations: 14.16 kB / 1.088 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.9608, allocations: 22.33 kB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.9608, allocations: 1.75 kB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.823e-05/0.9609, allocations: 10.16 kB / 1.088 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.9609, allocations: 1.125 kB / 1.088 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.9609, allocations: 11.02 kB / 1.088 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.9611, allocations: 37.61 kB / 1.088 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.9611, allocations: 0.75 kB / 1.088 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.427e-06/0.9611, allocations: 1.25 kB / 1.088 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.9611, allocations: 3.938 kB / 1.088 GB, free: 4.777 MB / 0.8575 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.0003185/0.9614, allocations: 352.7 kB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.9614, allocations: 9.469 kB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.9615, allocations: 33.42 kB / 1.089 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.9615, allocations: 8.5 kB / 1.089 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.972e-05/0.9616, allocations: 162.2 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.9617, allocations: 7.062 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.9617, allocations: 4.562 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.9618, allocations: 53.47 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.9618, allocations: 3.938 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.9618, allocations: 9.328 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.9618, allocations: 1.062 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.9619, allocations: 9.047 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001144/0.962, allocations: 157.5 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.226e-05/0.9621, allocations: 30.47 kB / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.617e-05/0.9621, allocations: 19.45 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.9621, allocations: 1.25 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.9622, allocations: 32.28 kB / 1.089 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.9622, allocations: 0 / 1.089 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002325/0.9624, allocations: 114 kB / 1.089 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.9624, allocations: 79.89 kB / 1.089 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.139e-05/0.9625, allocations: 98.53 kB / 1.089 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.9625, allocations: 27.89 kB / 1.089 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.537e-05/0.9625, allocations: 80.14 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.9626, allocations: 6.875 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.9626, allocations: 27.31 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.662e-05/0.9627, allocations: 313.3 kB / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.319e-05/0.9627, allocations: 16.2 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.9627, allocations: 14.23 kB / 1.09 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.08e-05/0.9628, allocations: 80.73 kB / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9628, allocations: 0 / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001306/0.963, allocations: 98.95 kB / 1.09 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.963, allocations: 36.33 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.963, allocations: 1.062 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.963, allocations: 0.6562 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.963, allocations: 0 / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.963, allocations: 1.094 kB / 1.09 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.9632, allocations: 13.38 kB / 1.09 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.9632, allocations: 7.266 kB / 1.09 GB, free: 2.891 MB / 0.8575 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 7.178e-05/0.9633, allocations: 142.8 kB / 1.09 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.9633, allocations: 7.922 kB / 1.09 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.208e-05/0.9633, allocations: 4.812 kB / 1.09 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.9633, allocations: 0 / 1.09 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.9633, allocations: 0 / 1.09 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.9633, allocations: 1.766 kB / 1.09 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.2e-05/0.9634, allocations: 153.3 kB / 1.09 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.9634, allocations: 5.969 kB / 1.09 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.9634, allocations: 0 / 1.09 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.9634, allocations: 3.938 kB / 1.09 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.9634, allocations: 3.672 kB / 1.09 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.9634, allocations: 1.312 kB / 1.09 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9634, allocations: 1.031 kB / 1.09 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.9636, allocations: 128.1 kB / 1.091 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.9636, allocations: 78.94 kB / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.9636, allocations: 10.92 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.9638, allocations: 6.422 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.9638, allocations: 2.734 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.9638, allocations: 3.031 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.329e-05/0.9638, allocations: 77.77 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9638, allocations: 0 / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002069/0.964, allocations: 21.73 kB / 1.091 GB, free: 2.238 MB / 0.8575 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.000526/0.9646, allocations: 0.6797 MB / 1.091 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001687/0.9647, allocations: 86.2 kB / 1.091 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9648, allocations: 4.094 kB / 1.091 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.795e-05/0.9648, allocations: 71.64 kB / 1.092 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.965, allocations: 5.094 kB / 1.092 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.9654, allocations: 133.8 kB / 1.092 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.9657, allocations: 0.6716 MB / 1.092 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.688e-05/0.9658, allocations: 6.188 kB / 1.092 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/0.9659, allocations: 7.438 kB / 1.092 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/0.9659, allocations: 0 / 1.092 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.9855, allocations: 1.879 MB / 1.094 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.802, allocations: 10.3 kB / 1.094 GB, free: 16.18 MB / 0.8731 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