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.008143/0.008144, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.002174/0.002174, allocations: 193.6 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.48/2.48, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.91 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7423/0.7442, allocations: 151.6 MB / 1.166 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001714/0.746, allocations: 0.5581 MB / 1.167 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002374/0.7463, allocations: 107.7 kB / 1.167 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.7463, allocations: 11.94 kB / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.22e-05/0.7464, allocations: 0 / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.692e-05/0.7465, allocations: 3.938 kB / 1.167 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.7466, allocations: 31.97 kB / 1.167 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.919e-05/0.7467, allocations: 35.95 kB / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.7468, allocations: 4 kB / 1.167 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.612e-05/0.7468, allocations: 8 kB / 1.167 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.995e-05/0.7468, allocations: 19.92 kB / 1.167 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.7469, allocations: 4 kB / 1.167 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.271e-05/0.7469, allocations: 11.98 kB / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.7469, allocations: 0 / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.747, allocations: 15.92 kB / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.645e-05/0.7471, allocations: 23.95 kB / 1.167 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7471, allocations: 0 / 1.167 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7471, allocations: 0 / 1.167 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7471, allocations: 0 / 1.167 GB, free: 2.992 MB / 0.8887 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.0003899/0.7475, allocations: 360.9 kB / 1.167 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.7475, allocations: 16.92 kB / 1.167 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.7476, allocations: 30.75 kB / 1.167 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.7476, allocations: 4.938 kB / 1.167 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.7478, allocations: 164.4 kB / 1.168 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.7478, allocations: 4.375 kB / 1.168 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.7478, allocations: 4.375 kB / 1.168 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.7479, allocations: 58.11 kB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.748, allocations: 3.938 kB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.748, allocations: 4 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.748, allocations: 4 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.19e-05/0.748, allocations: 19.92 kB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.7482, allocations: 145.7 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.059e-05/0.7483, allocations: 33.11 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.7483, allocations: 16.91 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-06/0.7483, allocations: 0 / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.7484, allocations: 38.56 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.7484, allocations: 0 / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.000252/0.7486, allocations: 111.2 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.7487, allocations: 81.09 kB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.7488, allocations: 101.8 kB / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.7488, allocations: 25.7 kB / 1.168 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.767e-05/0.7488, allocations: 84.14 kB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.7489, allocations: 3.953 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/0.7489, allocations: 29.97 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.7491, allocations: 314.8 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.428e-05/0.7491, allocations: 12 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.757e-05/0.7491, allocations: 11.98 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.776e-05/0.7492, allocations: 84.2 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.7492, allocations: 0 / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001367/0.7494, allocations: 95.38 kB / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.7494, allocations: 33.73 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.7494, allocations: 4 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.7494, allocations: 0 / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.228e-06/0.7495, allocations: 7.984 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.7495, allocations: 4 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.7496, allocations: 4 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.7496, allocations: 4 kB / 1.169 GB, free: 0.8398 MB / 0.8887 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.0001059/0.7497, allocations: 143.5 kB / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.7497, allocations: 11.92 kB / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.132e-05/0.7498, allocations: 7.125 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.7498, allocations: 0 / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.7498, allocations: 0 / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.7498, allocations: 3.938 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.7499, allocations: 149.7 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7499, allocations: 0 / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.7499, allocations: 0 / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.7499, allocations: 3.938 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.7499, allocations: 11.98 kB / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.7499, allocations: 3.938 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.7499, allocations: 3.938 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.7501, allocations: 122.8 kB / 1.169 GB, free: 300 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.7502, allocations: 77.11 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.7502, allocations: 7.938 kB / 1.169 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.44e-05/0.7503, allocations: 4 kB / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.7503, allocations: 7.984 kB / 1.169 GB, free: 184 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.7503, allocations: 4 kB / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.001e-05/0.7504, allocations: 83.31 kB / 1.169 GB, free: 96 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7504, allocations: 0 / 1.169 GB, free: 96 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001884/0.7506, allocations: 12 kB / 1.169 GB, free: 84 kB / 0.8887 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.0005883/0.7512, allocations: 0.6841 MB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.7513, allocations: 87.38 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7513, allocations: 0 / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.059e-05/0.7514, allocations: 67.39 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.7515, allocations: 4.562 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004041/0.752, allocations: 142.5 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.7523, allocations: 0.6769 MB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.766e-05/0.7523, allocations: 11.92 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.7524, allocations: 7.438 kB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of SimCode: time 3e-07/0.7524, allocations: 0 / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.7732, allocations: 1.875 MB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/8.502, allocations: 13.52 kB / 1.173 GB, free: 12.54 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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