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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001104/0.001104, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001567/0.001568, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 437.7 MB / 0.7117 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003087, allocations: 8 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5586/0.5589, allocations: 153.8 MB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0007398/0.5597, allocations: 280.5 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002172/0.5599, allocations: 99.78 kB / 1.023 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.917e-05/0.56, allocations: 0 / 1.023 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.141e-05/0.5601, allocations: 7.984 kB / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.194e-05/0.5601, allocations: 4 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.5602, allocations: 39.89 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.459e-05/0.5603, allocations: 19.97 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.5604, allocations: 0 / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.341e-05/0.5604, allocations: 8 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.471e-05/0.5604, allocations: 15.98 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.5605, allocations: 0 / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.741e-05/0.5605, allocations: 12 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.5605, allocations: 3.984 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.5606, allocations: 33.64 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.954e-05/0.5606, allocations: 19.97 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5606, allocations: 0 / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5607, allocations: 0 / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.5607, allocations: 4 kB / 1.023 GB, free: 15.48 MB / 0.7794 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.0002657/0.5609, allocations: 345 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.561, allocations: 8.562 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.561, allocations: 8 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.5611, allocations: 167 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.5612, allocations: 4 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.5612, allocations: 4 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.5613, allocations: 57.56 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.5613, allocations: 4 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.5613, allocations: 4 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.5613, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.628e-05/0.5614, allocations: 7.984 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.5615, allocations: 161.6 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.999e-05/0.5616, allocations: 34.59 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.5616, allocations: 12.92 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.5617, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.5617, allocations: 38.5 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.5617, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0002327/0.5619, allocations: 111.3 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.562, allocations: 81.23 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.794e-05/0.5621, allocations: 97.86 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.5621, allocations: 25.7 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.5621, allocations: 80.14 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.5621, allocations: 7.984 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.5622, allocations: 0 / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5623, allocations: 314.8 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.884e-05/0.5623, allocations: 8 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.607e-05/0.5623, allocations: 16.11 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.5624, allocations: 37.7 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5624, allocations: 0 / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000137/0.5625, allocations: 99.28 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.5626, allocations: 37.64 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5626, allocations: 3.953 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5626, allocations: 0 / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.5626, allocations: 0 / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.5626, allocations: 0 / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.5628, allocations: 12.08 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.5628, allocations: 4 kB / 1.025 GB, free: 13.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.267e-05/0.5629, allocations: 141.5 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.5629, allocations: 7.984 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.999e-06/0.5629, allocations: 7.062 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.5629, allocations: 7.953 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.5629, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.5629, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.668e-05/0.563, allocations: 149.7 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.563, allocations: 4 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.563, allocations: 0 / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.5631, allocations: 0 / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.5631, allocations: 8 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5631, allocations: 7.922 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5631, allocations: 3.953 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.5633, allocations: 122.8 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.5633, allocations: 81.09 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.5633, allocations: 4.031 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.397e-05/0.5634, allocations: 4 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.5634, allocations: 7.953 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.5635, allocations: 7.984 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.985e-05/0.5635, allocations: 75.28 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5635, allocations: 0 / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002065/0.5637, allocations: 12 kB / 1.025 GB, free: 12.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002082/0.5639, allocations: 129 kB / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.5641, allocations: 83.38 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5641, allocations: 0 / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.569e-05/0.5641, allocations: 71.39 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.5643, allocations: 4 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.5646, allocations: 112.3 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.5648, allocations: 0.677 MB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.085e-05/0.5649, allocations: 4 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.083e-05/0.5649, allocations: 7.438 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of SimCode: time 4.7e-07/0.5649, allocations: 0 / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of Templates: time 0.003158/0.5681, allocations: 1.012 MB / 1.027 GB, free: 10.56 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=480 -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