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.006823/0.006823, allocations: 99.27 kB / 15.73 MB, free: 6.445 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.001471/0.001471, allocations: 194.4 kB / 16.67 MB, free: 6.348 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.449/2.449, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 59.78 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2938, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.003076/0.2969, allocations: 0.5438 MB / 1.088 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003663/0.2973, allocations: 108.1 kB / 1.088 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.2974, allocations: 0 / 1.088 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.2975, allocations: 7.938 kB / 1.088 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.62e-05/0.2976, allocations: 0 / 1.088 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.2978, allocations: 39.89 kB / 1.088 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.298, allocations: 27.97 kB / 1.088 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.289e-05/0.2981, allocations: 8 kB / 1.088 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.185e-05/0.2981, allocations: 12 kB / 1.088 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.316e-05/0.2982, allocations: 15.97 kB / 1.088 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.2982, allocations: 4 kB / 1.088 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.949e-05/0.2983, allocations: 11.98 kB / 1.088 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.2983, allocations: 7.938 kB / 1.088 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.675e-05/0.2984, allocations: 8 kB / 1.088 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.2986, allocations: 27.95 kB / 1.088 GB, free: 1.184 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.2986, allocations: 0 / 1.088 GB, free: 1.184 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.785e-06/0.2986, allocations: 4 kB / 1.088 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.2986, allocations: 0 / 1.088 GB, free: 1.18 MB / 0.8419 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.0008163/0.2995, allocations: 361.3 kB / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 7.339e-05/0.2995, allocations: 12.03 kB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.624e-05/0.2996, allocations: 30.75 kB / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/0.2997, allocations: 4.938 kB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.2999, allocations: 168.4 kB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.3, allocations: 12.31 kB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.3, allocations: 4.375 kB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.3002, allocations: 50.23 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.3002, allocations: 3.938 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.3003, allocations: 4 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3003, allocations: 0 / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.91e-05/0.3004, allocations: 11.98 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.3006, allocations: 149.7 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.3007, allocations: 38.55 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.619e-05/0.3008, allocations: 16.91 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-06/0.3008, allocations: 0 / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.3009, allocations: 30.56 kB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.3009, allocations: 0 / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0003672/0.3012, allocations: 111.3 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.114e-05/0.3014, allocations: 81.09 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.633e-05/0.3015, allocations: 101.9 kB / 1.089 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.3015, allocations: 33.7 kB / 1.089 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.3015, allocations: 80.14 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.3016, allocations: 0 / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/0.3017, allocations: 25.64 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3018, allocations: 318.8 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.517e-05/0.3019, allocations: 8 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.971e-05/0.3019, allocations: 20.11 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.3021, allocations: 80.25 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3021, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001988/0.3023, allocations: 91.39 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.3023, allocations: 41.62 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3024, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.3024, allocations: 4 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.714e-06/0.3024, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.3024, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.3027, allocations: 15.97 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-05/0.3028, allocations: 4 kB / 1.09 GB, free: 15.03 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 0.0002126/0.303, allocations: 139.5 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.3031, allocations: 11.92 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.3031, allocations: 3.125 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3031, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3031, allocations: 3.938 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3032, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.3033, allocations: 157.7 kB / 1.09 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3033, allocations: 7.984 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-06/0.3033, allocations: 4 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3033, allocations: 3.938 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.3034, allocations: 0 / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3034, allocations: 4 kB / 1.09 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3034, allocations: 0 / 1.09 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.3036, allocations: 122.8 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.3037, allocations: 77.11 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.3037, allocations: 11.97 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.3039, allocations: 7.984 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.304, allocations: 7.938 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.304, allocations: 4 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.387e-05/0.304, allocations: 79.28 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.304, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003477/0.3044, allocations: 12 kB / 1.091 GB, free: 14.27 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.0007455/0.3052, allocations: 0.6809 MB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.3054, allocations: 79.39 kB / 1.091 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.3054, allocations: 4.094 kB / 1.091 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.283e-05/0.3055, allocations: 75.33 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.3057, allocations: 4 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005953/0.3063, allocations: 130.7 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.3067, allocations: 0.6728 MB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001431/0.3068, allocations: 7.984 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.3069, allocations: 11.44 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.3069, allocations: 0 / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.3309, allocations: 1.885 MB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.593/7.924, allocations: 13.42 kB / 1.094 GB, free: 10.74 MB / 0.8575 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