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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002237/0.002237, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.488/1.488, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.723/2.723, allocations: 437 MB / 0.7101 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.89 kB / 0.8688 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5685/0.5705, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001917/0.5724, allocations: 0.6089 MB / 1.017 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000253/0.5727, allocations: 107.7 kB / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.343e-05/0.5727, allocations: 7.938 kB / 1.018 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.5728, allocations: 11.98 kB / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.885e-05/0.5729, allocations: 3.938 kB / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.5731, allocations: 31.97 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.046e-05/0.5731, allocations: 19.98 kB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.5732, allocations: 4 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.566e-05/0.5732, allocations: 19.97 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.945e-05/0.5733, allocations: 4 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.5733, allocations: 8 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.439e-05/0.5733, allocations: 12 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/0.5734, allocations: 0 / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.5734, allocations: 23.84 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.437e-05/0.5735, allocations: 27.95 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5735, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5735, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.5735, allocations: 0 / 1.018 GB, free: 1.812 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.0004014/0.5739, allocations: 357.2 kB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.574, allocations: 12.03 kB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.574, allocations: 8.938 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.5742, allocations: 168.3 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.5742, allocations: 384 / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.5742, allocations: 4.375 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.5744, allocations: 54.23 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.5744, allocations: 8.109 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.5744, allocations: 3.938 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.5744, allocations: 0 / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.377e-05/0.5744, allocations: 15.98 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.5746, allocations: 153.7 kB / 1.018 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.453e-05/0.5747, allocations: 30.55 kB / 1.018 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/0.5747, allocations: 20.91 kB / 1.018 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.5747, allocations: 0 / 1.018 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.5748, allocations: 34.56 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.5748, allocations: 0 / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0002469/0.575, allocations: 107.3 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.5751, allocations: 89.09 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/0.5752, allocations: 89.86 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.5752, allocations: 29.7 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.5753, allocations: 84.08 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.5753, allocations: 4 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.5754, allocations: 21.72 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5755, allocations: 315.1 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.556e-05/0.5756, allocations: 16.05 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.5756, allocations: 7.984 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.626e-05/0.5757, allocations: 80.27 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5757, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001567/0.5759, allocations: 99.28 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.5759, allocations: 33.7 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5759, allocations: 3.938 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.5759, allocations: 0 / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.238e-06/0.5759, allocations: 8.078 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.576, allocations: 3.938 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.5761, allocations: 4 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.5761, allocations: 4 kB / 1.019 GB, free: 15.71 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.0001196/0.5762, allocations: 149.4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.5763, allocations: 4 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.226e-05/0.5763, allocations: 7.062 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.5763, allocations: 4 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5763, allocations: 4 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5763, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.5764, allocations: 153.6 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5764, allocations: 0 / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.5764, allocations: 0 / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.5764, allocations: 0 / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.5765, allocations: 19.92 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5765, allocations: 0 / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5765, allocations: 0 / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.5767, allocations: 126.8 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.5767, allocations: 77.11 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.5767, allocations: 3.938 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.5769, allocations: 7.938 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.5769, allocations: 7.984 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.5769, allocations: 4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.835e-05/0.5769, allocations: 75.28 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5769, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001968/0.5771, allocations: 16.12 kB / 1.02 GB, free: 14.95 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.0002369/0.5774, allocations: 120 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.5775, allocations: 83.39 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5776, allocations: 4 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.676e-05/0.5776, allocations: 71.45 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.5778, allocations: 8.812 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.5781, allocations: 109 kB / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.5784, allocations: 0.6766 MB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.653e-05/0.5785, allocations: 4 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.237e-05/0.5785, allocations: 7.438 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5785, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of Templates: time 0.003614/0.5821, allocations: 1.097 MB / 1.022 GB, free: 12.71 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (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 & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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