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.002/0.002, allocations: 111.4 kB / 15.99 MB, free: 5.914 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.002293/0.002293, allocations: 187.3 kB / 16.91 MB, free: 5.758 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.419/1.419, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.28/2.28, allocations: 390.2 MB / 0.665 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 67.78 kB / 0.8127 GB, free: 32.47 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2897, allocations: 140.4 MB / 0.9498 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002292/0.2921, allocations: 0.6067 MB / 0.9504 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002687/0.2924, allocations: 109.8 kB / 0.9505 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.2924, allocations: 0 / 0.9505 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.2925, allocations: 4 kB / 0.9505 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.879e-05/0.2926, allocations: 4 kB / 0.9505 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.2928, allocations: 27.97 kB / 0.9505 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.608e-05/0.2929, allocations: 39.91 kB / 0.9505 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.044e-05/0.293, allocations: 3.984 kB / 0.9506 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.135e-05/0.293, allocations: 12 kB / 0.9506 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.948e-05/0.293, allocations: 19.91 kB / 0.9506 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.2931, allocations: 0 / 0.9506 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.309e-05/0.2931, allocations: 8 kB / 0.9506 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.2931, allocations: 0 / 0.9506 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.2932, allocations: 11.94 kB / 0.9506 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.75e-05/0.2933, allocations: 27.95 kB / 0.9506 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2933, allocations: 0 / 0.9506 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2933, allocations: 0 / 0.9506 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.2933, allocations: 4 kB / 0.9506 GB, free: 8.32 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.000365/0.2937, allocations: 362.5 kB / 0.951 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2937, allocations: 8.031 kB / 0.951 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.2938, allocations: 8.938 kB / 0.951 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.2939, allocations: 168.4 kB / 0.9512 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.2939, allocations: 384 / 0.9512 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.294, allocations: 4.375 kB / 0.9512 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.2941, allocations: 50.23 kB / 0.9512 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2941, allocations: 4.188 kB / 0.9512 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.2941, allocations: 7.938 kB / 0.9512 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2941, allocations: 0 / 0.9512 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.181e-05/0.2942, allocations: 19.92 kB / 0.9512 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/0.2943, allocations: 149.7 kB / 0.9514 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.196e-05/0.2944, allocations: 26.58 kB / 0.9514 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.236e-05/0.2945, allocations: 20.91 kB / 0.9514 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.2945, allocations: 0 / 0.9514 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.2945, allocations: 38.56 kB / 0.9515 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.2945, allocations: 0 / 0.9515 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.000246/0.2948, allocations: 107.2 kB / 0.9516 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.2948, allocations: 89.09 kB / 0.9517 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.002e-05/0.2949, allocations: 89.86 kB / 0.9517 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.2949, allocations: 29.7 kB / 0.9518 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.295, allocations: 80.39 kB / 0.9518 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.295, allocations: 7.906 kB / 0.9518 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.295, allocations: 25.66 kB / 0.9519 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2952, allocations: 318.8 kB / 0.9522 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.147e-05/0.2952, allocations: 8 kB / 0.9522 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.691e-05/0.2952, allocations: 11.98 kB / 0.9522 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.424e-05/0.2953, allocations: 80.27 kB / 0.9523 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2953, allocations: 0 / 0.9523 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001414/0.2955, allocations: 107.4 kB / 0.9524 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.2955, allocations: 29.7 kB / 0.9524 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.2955, allocations: 7.938 kB / 0.9524 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2955, allocations: 3.984 kB / 0.9524 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.2956, allocations: 0 / 0.9524 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2956, allocations: 0 / 0.9524 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.2957, allocations: 4 kB / 0.9524 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.2957, allocations: 4 kB / 0.9524 GB, free: 6.219 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.365e-05/0.2958, allocations: 145.8 kB / 0.9526 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.2959, allocations: 8.031 kB / 0.9526 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.326e-05/0.2959, allocations: 7.062 kB / 0.9526 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2959, allocations: 0 / 0.9526 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2959, allocations: 0 / 0.9526 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.2959, allocations: 7.938 kB / 0.9526 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.45e-05/0.296, allocations: 145.7 kB / 0.9527 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.296, allocations: 4 kB / 0.9527 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-07/0.296, allocations: 0 / 0.9527 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.296, allocations: 3.984 kB / 0.9527 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.296, allocations: 11.94 kB / 0.9527 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2961, allocations: 4 kB / 0.9527 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2961, allocations: 0 / 0.9527 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.2962, allocations: 122.8 kB / 0.9529 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.2963, allocations: 89.05 kB / 0.9529 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.2963, allocations: 3.938 kB / 0.953 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.2964, allocations: 4 kB / 0.953 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.2964, allocations: 7.984 kB / 0.953 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.2965, allocations: 4.031 kB / 0.953 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.206e-05/0.2965, allocations: 79.28 kB / 0.953 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2965, allocations: 0 / 0.953 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002055/0.2967, allocations: 12 kB / 0.9531 GB, free: 5.465 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.0002297/0.297, allocations: 122.9 kB / 0.9532 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.2971, allocations: 91.33 kB / 0.9533 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2971, allocations: 0 / 0.9533 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.079e-05/0.2972, allocations: 67.39 kB / 0.9533 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.2974, allocations: 13.5 kB / 0.9533 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.2977, allocations: 141.2 kB / 0.9535 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.298, allocations: 0.6727 MB / 0.9541 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.285e-05/0.298, allocations: 7.562 kB / 0.9541 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.298, allocations: 4 kB / 0.9541 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of Templates: time 0.00272/0.3007, allocations: 0.8892 MB / 0.955 GB, free: 3.383 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