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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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_9_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.001604/0.001604, allocations: 102.8 kB / 16.27 MB, free: 6.414 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.001881/0.001882, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.367/1.367, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.25/2.25, allocations: 390.3 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 64.98 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2976, allocations: 140.4 MB / 0.9503 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002049/0.2997, allocations: 0.5495 MB / 0.9508 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002612/0.2999, allocations: 111.7 kB / 0.9509 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.3, allocations: 0 / 0.9509 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.794e-05/0.3001, allocations: 4 kB / 0.9509 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.949e-05/0.3001, allocations: 0 / 0.9509 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.3003, allocations: 43.88 kB / 0.951 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.13e-05/0.3004, allocations: 27.98 kB / 0.951 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.3004, allocations: 4 kB / 0.951 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.836e-05/0.3005, allocations: 11.94 kB / 0.951 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.3005, allocations: 15.97 kB / 0.951 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.3006, allocations: 4 kB / 0.951 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.374e-05/0.3006, allocations: 4 kB / 0.951 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.3006, allocations: 0 / 0.951 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.3007, allocations: 23.92 kB / 0.9511 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.585e-05/0.3008, allocations: 23.97 kB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3008, allocations: 3.984 kB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3008, allocations: 0 / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3008, allocations: 0 / 0.9511 GB, free: 8.074 MB / 0.7325 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.0004697/0.3013, allocations: 357.2 kB / 0.9514 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3013, allocations: 12.03 kB / 0.9514 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.3014, allocations: 0.9375 kB / 0.9514 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.3015, allocations: 172.3 kB / 0.9516 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3016, allocations: 4.375 kB / 0.9516 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.3016, allocations: 4.375 kB / 0.9516 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.3017, allocations: 58.22 kB / 0.9517 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3017, allocations: 4.188 kB / 0.9517 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3018, allocations: 3.938 kB / 0.9517 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3018, allocations: 0 / 0.9517 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.798e-05/0.3018, allocations: 8 kB / 0.9517 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.302, allocations: 153.7 kB / 0.9518 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.874e-05/0.302, allocations: 38.53 kB / 0.9519 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.3021, allocations: 22.95 kB / 0.9519 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.036e-06/0.3021, allocations: 0 / 0.9519 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.3021, allocations: 34.56 kB / 0.9519 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3021, allocations: 3.938 kB / 0.9519 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0002539/0.3024, allocations: 107.3 kB / 0.952 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.3025, allocations: 81.11 kB / 0.9521 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.045e-05/0.3025, allocations: 97.97 kB / 0.9522 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.3026, allocations: 29.7 kB / 0.9522 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.3026, allocations: 88.08 kB / 0.9523 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.3026, allocations: 7.906 kB / 0.9523 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.3027, allocations: 17.72 kB / 0.9523 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.3028, allocations: 314.8 kB / 0.9526 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.257e-05/0.3029, allocations: 11.98 kB / 0.9526 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.82e-05/0.3029, allocations: 16.11 kB / 0.9527 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.194e-05/0.303, allocations: 76.27 kB / 0.9527 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.303, allocations: 0 / 0.9527 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001598/0.3032, allocations: 95.38 kB / 0.9528 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/0.3032, allocations: 37.7 kB / 0.9529 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3032, allocations: 3.938 kB / 0.9529 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3032, allocations: 0 / 0.9529 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.584e-06/0.3032, allocations: 0 / 0.9529 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3033, allocations: 3.938 kB / 0.9529 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.3034, allocations: 12.08 kB / 0.9529 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.3034, allocations: 4 kB / 0.9529 GB, free: 5.965 MB / 0.7325 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 9.24e-05/0.3035, allocations: 135.8 kB / 0.953 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.3035, allocations: 4 kB / 0.953 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.156e-05/0.3036, allocations: 11.05 kB / 0.953 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3036, allocations: 0 / 0.953 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3036, allocations: 4 kB / 0.953 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3036, allocations: 0 / 0.953 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.3037, allocations: 157.7 kB / 0.9532 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3038, allocations: 4 kB / 0.9532 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.3038, allocations: 0 / 0.9532 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3038, allocations: 0 / 0.9532 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3038, allocations: 7.938 kB / 0.9532 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3038, allocations: 0 / 0.9532 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3038, allocations: 0 / 0.9532 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.304, allocations: 118.8 kB / 0.9533 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.304, allocations: 89.03 kB / 0.9534 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.3041, allocations: 11.91 kB / 0.9534 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3042, allocations: 11.94 kB / 0.9534 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/0.3042, allocations: 7.984 kB / 0.9534 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.3042, allocations: 11.94 kB / 0.9534 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.867e-05/0.3043, allocations: 79.27 kB / 0.9535 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3043, allocations: 0 / 0.9535 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000198/0.3045, allocations: 12 kB / 0.9535 GB, free: 5.203 MB / 0.7325 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.0002805/0.3048, allocations: 111.3 kB / 0.9536 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001674/0.3049, allocations: 83.38 kB / 0.9537 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.305, allocations: 0 / 0.9537 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.897e-05/0.305, allocations: 71.39 kB / 0.9538 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.3052, allocations: 11.97 kB / 0.9538 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.3055, allocations: 130.8 kB / 0.9539 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.3058, allocations: 0.6844 MB / 0.9546 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.455e-05/0.3058, allocations: 7.438 kB / 0.9546 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.3058, allocations: 0 / 0.9546 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of Templates: time 0.002544/0.3084, allocations: 0.8779 MB / 0.9554 GB, free: 3.148 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (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 & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/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