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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.002064/0.002064, allocations: 107 kB / 16.36 MB, free: 6.336 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.002408/0.002408, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.38/1.38, 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 9.1.2-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001294, allocations: 64.3 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3031, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.00199/0.3052, allocations: 0.5393 MB / 0.9517 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002644/0.3054, allocations: 111.7 kB / 0.9518 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.66e-05/0.3055, allocations: 0 / 0.9518 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.928e-05/0.3056, allocations: 8 kB / 0.9518 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.834e-05/0.3057, allocations: 11.91 kB / 0.9518 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.3058, allocations: 39.89 kB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.469e-05/0.3059, allocations: 23.98 kB / 0.9518 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.306, allocations: 3.938 kB / 0.9518 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.185e-05/0.306, allocations: 19.98 kB / 0.9519 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/0.3061, allocations: 15.97 kB / 0.9519 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.3061, allocations: 4 kB / 0.9519 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.163e-05/0.3062, allocations: 15.88 kB / 0.9519 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.3062, allocations: 0 / 0.9519 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.516e-05/0.3062, allocations: 15.92 kB / 0.9519 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.3063, allocations: 23.97 kB / 0.9519 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3063, allocations: 0 / 0.9519 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3064, allocations: 0 / 0.9519 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3064, allocations: 0 / 0.9519 GB, free: 7.219 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.0003847/0.3067, allocations: 357.2 kB / 0.9523 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3068, allocations: 16.02 kB / 0.9523 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.3068, allocations: 4.938 kB / 0.9523 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.307, allocations: 168.4 kB / 0.9525 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.307, allocations: 4.375 kB / 0.9525 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.307, allocations: 4.375 kB / 0.9525 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.3072, allocations: 54.23 kB / 0.9525 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3072, allocations: 192 / 0.9525 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3072, allocations: 7.938 kB / 0.9525 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.3072, allocations: 0 / 0.9525 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.431e-05/0.3072, allocations: 15.92 kB / 0.9525 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.3074, allocations: 157.7 kB / 0.9527 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.207e-05/0.3075, allocations: 26.59 kB / 0.9527 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.3075, allocations: 19.03 kB / 0.9527 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.3076, allocations: 0 / 0.9527 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.3076, allocations: 42.48 kB / 0.9528 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3076, allocations: 0 / 0.9528 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.000253/0.3079, allocations: 115.2 kB / 0.9529 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.3079, allocations: 81.11 kB / 0.953 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.867e-05/0.308, allocations: 89.86 kB / 0.953 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.308, allocations: 29.7 kB / 0.9531 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.3081, allocations: 80.14 kB / 0.9531 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.3081, allocations: 7.906 kB / 0.9532 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.3082, allocations: 25.7 kB / 0.9532 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3083, allocations: 315.1 kB / 0.9535 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.333e-05/0.3083, allocations: 15.98 kB / 0.9535 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.328e-05/0.3084, allocations: 4 kB / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.337e-05/0.3084, allocations: 84.25 kB / 0.9536 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3085, allocations: 0 / 0.9536 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001386/0.3086, allocations: 99.31 kB / 0.9537 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.3086, allocations: 33.7 kB / 0.9537 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3087, allocations: 3.938 kB / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3087, allocations: 0 / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.3087, allocations: 4.094 kB / 0.9537 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.3087, allocations: 3.938 kB / 0.9537 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.3088, allocations: 7.984 kB / 0.9537 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.3088, allocations: 8 kB / 0.9537 GB, free: 5.105 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 0.0001033/0.3089, allocations: 138.6 kB / 0.9539 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.309, allocations: 4 kB / 0.9539 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.399e-05/0.309, allocations: 7.062 kB / 0.9539 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.309, allocations: 0 / 0.9539 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.309, allocations: 8 kB / 0.9539 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.309, allocations: 0 / 0.9539 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.3091, allocations: 157.7 kB / 0.954 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3091, allocations: 0 / 0.954 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.3091, allocations: 0 / 0.954 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.3092, allocations: 0 / 0.954 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.3092, allocations: 7.938 kB / 0.954 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.3092, allocations: 0 / 0.954 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3092, allocations: 0 / 0.954 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.3094, allocations: 126.8 kB / 0.9542 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.3094, allocations: 88.98 kB / 0.9542 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.3094, allocations: 7.938 kB / 0.9543 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.192e-05/0.3095, allocations: 7.984 kB / 0.9543 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.3095, allocations: 4 kB / 0.9543 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.3096, allocations: 4 kB / 0.9543 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.426e-05/0.3096, allocations: 79.28 kB / 0.9543 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3096, allocations: 0 / 0.9543 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002047/0.3098, allocations: 20.12 kB / 0.9544 GB, free: 4.352 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.0002396/0.3101, allocations: 113.1 kB / 0.9545 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.3102, allocations: 79.39 kB / 0.9546 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3102, allocations: 0 / 0.9546 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.146e-05/0.3103, allocations: 79.39 kB / 0.9546 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.3105, allocations: 8 kB / 0.9546 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.3108, allocations: 101 kB / 0.9547 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.3111, allocations: 0.6766 MB / 0.9554 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.877e-05/0.3111, allocations: 7.984 kB / 0.9554 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.164e-05/0.3111, allocations: 7.438 kB / 0.9554 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.3111, allocations: 3.938 kB / 0.9554 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of Templates: time 0.00335/0.3145, allocations: 1.102 MB / 0.9565 GB, free: 2.105 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 -s cvode -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