Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001509/0.001509, allocations: 104.8 kB / 16.36 MB, free: 5.875 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.001678/0.001679, allocations: 199.2 kB / 17.3 MB, free: 5.516 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.519/2.519, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 68.81 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2588, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001731/0.2606, allocations: 0.5564 MB / 1.027 GB, free: 1.512 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002338/0.2609, allocations: 122 kB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.111e-05/0.2609, allocations: 0 / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.075e-05/0.261, allocations: 4 kB / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.597e-05/0.261, allocations: 3.938 kB / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.2612, allocations: 31.97 kB / 1.027 GB, free: 1.355 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.2613, allocations: 27.97 kB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.043e-05/0.2614, allocations: 7.984 kB / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.716e-05/0.2614, allocations: 12 kB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.161e-05/0.2615, allocations: 15.97 kB / 1.027 GB, free: 1.293 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.2615, allocations: 4 kB / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.037e-05/0.2616, allocations: 11.94 kB / 1.028 GB, free: 1.277 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.2616, allocations: 7.938 kB / 1.028 GB, free: 1.27 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.2616, allocations: 7.984 kB / 1.028 GB, free: 1.262 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.462e-05/0.2617, allocations: 23.97 kB / 1.028 GB, free: 1.238 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2617, allocations: 7.984 kB / 1.028 GB, free: 1.23 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2617, allocations: 0 / 1.028 GB, free: 1.23 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2617, allocations: 0 / 1.028 GB, free: 1.23 MB / 0.795 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.0003087/0.262, allocations: 361.3 kB / 1.028 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2621, allocations: 8.031 kB / 1.028 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.2621, allocations: 8.875 kB / 1.028 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.2622, allocations: 164.4 kB / 1.028 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.2623, allocations: 384 / 1.028 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.2623, allocations: 4.375 kB / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.2624, allocations: 58.22 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.2624, allocations: 192 / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.2624, allocations: 3.938 kB / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2624, allocations: 4 kB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.94e-05/0.2625, allocations: 15.94 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.2626, allocations: 149.7 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.022e-05/0.2627, allocations: 30.59 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.2627, allocations: 20.91 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-06/0.2627, allocations: 0 / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.2628, allocations: 38.56 kB / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.2628, allocations: 3.938 kB / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0002229/0.263, allocations: 107.2 kB / 1.028 GB, free: 92 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.2631, allocations: 81.11 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.183e-05/0.2631, allocations: 101.8 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.2632, allocations: 25.7 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.814e-05/0.2632, allocations: 80.14 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.2632, allocations: 7.906 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.2633, allocations: 25.97 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.676e-05/0.2634, allocations: 310.8 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.166e-05/0.2634, allocations: 11.98 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.9e-05/0.2634, allocations: 15.98 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.548e-05/0.2635, allocations: 76.27 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2635, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001286/0.2637, allocations: 99.31 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.2637, allocations: 37.8 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2637, allocations: 3.938 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.2637, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.2637, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.2637, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.2639, allocations: 7.984 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.2639, allocations: 7.984 kB / 1.029 GB, free: 15.13 MB / 0.8106 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 8.527e-05/0.264, allocations: 147.5 kB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.264, allocations: 7.938 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.349e-05/0.264, allocations: 15.05 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.264, allocations: 0 / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.264, allocations: 0 / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.2641, allocations: 0 / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.049e-05/0.2641, allocations: 153.7 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2642, allocations: 0 / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.2642, allocations: 0 / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2642, allocations: 0 / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.2642, allocations: 7.938 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2642, allocations: 0 / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2642, allocations: 0 / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.2644, allocations: 130.8 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.2644, allocations: 89.03 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.2644, allocations: 7.938 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.2645, allocations: 4 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.2645, allocations: 4 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.2646, allocations: 4 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.036e-05/0.2646, allocations: 83.3 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2646, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002037/0.2648, allocations: 19.94 kB / 1.03 GB, free: 14.36 MB / 0.8106 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.0001837/0.265, allocations: 108.1 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.2652, allocations: 91.47 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2652, allocations: 4.062 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.415e-05/0.2652, allocations: 71.33 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.2654, allocations: 4 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.2657, allocations: 109 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.2659, allocations: 0.6729 MB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.559e-05/0.2659, allocations: 4 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.069e-05/0.2659, allocations: 7.438 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.2659, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of Templates: time 0.003025/0.269, allocations: 1.096 MB / 1.032 GB, free: 12.12 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches