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.001403/0.001403, allocations: 108.5 kB / 16.37 MB, free: 6.48 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.001279/0.00128, allocations: 193.1 kB / 17.31 MB, free: 5.82 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.19 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.246/2.246, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.61 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.234, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001837/0.2359, allocations: 0.5415 MB / 0.9517 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002284/0.2361, allocations: 119.6 kB / 0.9518 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.801e-05/0.2361, allocations: 4 kB / 0.9518 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.882e-05/0.2362, allocations: 4 kB / 0.9518 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.228e-05/0.2363, allocations: 3.938 kB / 0.9518 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.2364, allocations: 35.95 kB / 0.9518 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.077e-05/0.2365, allocations: 27.92 kB / 0.9519 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.2366, allocations: 0 / 0.9519 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.72e-05/0.2366, allocations: 15.98 kB / 0.9519 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.672e-05/0.2367, allocations: 15.98 kB / 0.9519 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.2367, allocations: 4 kB / 0.9519 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.057e-05/0.2367, allocations: 11.98 kB / 0.9519 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.2368, allocations: 7.922 kB / 0.9519 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.2368, allocations: 8 kB / 0.9519 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.2369, allocations: 27.95 kB / 0.9519 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2369, allocations: 0 / 0.9519 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2369, allocations: 0 / 0.9519 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2369, allocations: 0 / 0.9519 GB, free: 7.238 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.0003433/0.2373, allocations: 362.2 kB / 0.9523 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2373, allocations: 12.03 kB / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.2374, allocations: 8.875 kB / 0.9523 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.2375, allocations: 168.4 kB / 0.9525 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.2375, allocations: 4.375 kB / 0.9525 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.2375, allocations: 4.375 kB / 0.9525 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.2376, allocations: 50.23 kB / 0.9525 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2376, allocations: 192 / 0.9525 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.2377, allocations: 11.88 kB / 0.9525 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2377, allocations: 0 / 0.9525 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.626e-05/0.2377, allocations: 11.98 kB / 0.9525 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.2378, allocations: 153.7 kB / 0.9527 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.927e-05/0.2379, allocations: 30.61 kB / 0.9527 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.238, allocations: 19.02 kB / 0.9527 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.238, allocations: 0 / 0.9527 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.238, allocations: 30.56 kB / 0.9528 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.238, allocations: 0 / 0.9528 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0002282/0.2382, allocations: 119.2 kB / 0.9529 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.2383, allocations: 81.09 kB / 0.953 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.2384, allocations: 93.86 kB / 0.953 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.2384, allocations: 29.7 kB / 0.9531 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/0.2384, allocations: 84.14 kB / 0.9532 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.2384, allocations: 3.906 kB / 0.9532 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.2385, allocations: 21.7 kB / 0.9532 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2386, allocations: 319.1 kB / 0.9535 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.764e-05/0.2386, allocations: 8 kB / 0.9535 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.844e-05/0.2387, allocations: 15.98 kB / 0.9535 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.513e-05/0.2388, allocations: 84.19 kB / 0.9536 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2388, allocations: 0 / 0.9536 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001324/0.2389, allocations: 91.39 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.2389, allocations: 37.69 kB / 0.9537 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2389, allocations: 3.938 kB / 0.9537 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.239, allocations: 8.094 kB / 0.9537 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.62e-07/0.239, allocations: 0 / 0.9537 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.239, allocations: 0 / 0.9537 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.2391, allocations: 8 kB / 0.9537 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.2391, allocations: 4 kB / 0.9537 GB, free: 5.133 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 8.545e-05/0.2392, allocations: 141.5 kB / 0.9539 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.2392, allocations: 7.938 kB / 0.9539 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.788e-06/0.2392, allocations: 7.062 kB / 0.9539 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2392, allocations: 0 / 0.9539 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2393, allocations: 4 kB / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.2393, allocations: 3.938 kB / 0.9539 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.818e-05/0.2394, allocations: 153.7 kB / 0.954 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2394, allocations: 3.984 kB / 0.954 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.2394, allocations: 0 / 0.954 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.2394, allocations: 4 kB / 0.954 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.2394, allocations: 3.938 kB / 0.954 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2394, allocations: 3.938 kB / 0.9541 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2394, allocations: 4 kB / 0.9541 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.2396, allocations: 122.8 kB / 0.9542 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.2396, allocations: 81.05 kB / 0.9543 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.2396, allocations: 7.938 kB / 0.9543 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.812e-05/0.2397, allocations: 7.984 kB / 0.9543 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.2398, allocations: 7.984 kB / 0.9543 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.2398, allocations: 4 kB / 0.9543 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.202e-05/0.2398, allocations: 79.28 kB / 0.9544 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2398, allocations: 4.125 kB / 0.9544 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001979/0.24, allocations: 16 kB / 0.9544 GB, free: 4.371 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.000236/0.2403, allocations: 118.3 kB / 0.9545 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001411/0.2404, allocations: 83.33 kB / 0.9546 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2404, allocations: 0 / 0.9546 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.608e-05/0.2405, allocations: 75.45 kB / 0.9546 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.2406, allocations: 8.438 kB / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002645/0.2409, allocations: 108.9 kB / 0.9547 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.2412, allocations: 0.6766 MB / 0.9554 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.8e-05/0.2412, allocations: 3.984 kB / 0.9554 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.146e-05/0.2413, allocations: 7.438 kB / 0.9554 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.2413, allocations: 4 kB / 0.9554 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of Templates: time 0.003583/0.2449, allocations: 1.1 MB / 0.9565 GB, free: 2.125 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 gbode -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