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.0115/0.0115, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.002168/0.002168, allocations: 197.3 kB / 16.79 MB, free: 6.254 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.368/1.368, allocations: 222.9 MB / 240.5 MB, free: 4.441 MB / 190.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.303/2.303, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 59.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7434/0.745, allocations: 140.3 MB / 0.9496 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002051/0.7471, allocations: 0.6231 MB / 0.9502 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000293/0.7474, allocations: 109.7 kB / 0.9503 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.506e-05/0.7475, allocations: 3.938 kB / 0.9503 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.7476, allocations: 6 kB / 0.9503 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.139e-05/0.7476, allocations: 7.984 kB / 0.9503 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.7478, allocations: 32.66 kB / 0.9503 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.146e-05/0.7478, allocations: 21.42 kB / 0.9504 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.7479, allocations: 1.25 kB / 0.9504 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.821e-05/0.7479, allocations: 13.33 kB / 0.9504 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.668e-05/0.748, allocations: 16.25 kB / 0.9504 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.748, allocations: 2.75 kB / 0.9504 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.53e-05/0.748, allocations: 9.562 kB / 0.9504 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.7481, allocations: 1.406 kB / 0.9504 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.7481, allocations: 12.12 kB / 0.9504 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.241e-05/0.7482, allocations: 26.95 kB / 0.9504 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.7482, allocations: 3.938 kB / 0.9505 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.71e-07/0.7482, allocations: 0 / 0.9505 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.7482, allocations: 1.438 kB / 0.9505 GB, free: 8.57 MB / 0.7169 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.0003067/0.7485, allocations: 351.9 kB / 0.9508 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.7486, allocations: 9.469 kB / 0.9508 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.7486, allocations: 12 kB / 0.9508 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.922e-05/0.7487, allocations: 162 kB / 0.951 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.7487, allocations: 1.594 kB / 0.951 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.7488, allocations: 3.906 kB / 0.951 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.7489, allocations: 55.75 kB / 0.951 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.7489, allocations: 1.719 kB / 0.951 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.7489, allocations: 5.938 kB / 0.951 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.7489, allocations: 0 / 0.951 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.741e-05/0.749, allocations: 14.53 kB / 0.951 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.7491, allocations: 156.7 kB / 0.9512 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.886e-05/0.7492, allocations: 32.11 kB / 0.9512 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.7492, allocations: 18.03 kB / 0.9512 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.7492, allocations: 0 / 0.9512 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.7492, allocations: 39.78 kB / 0.9513 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.7492, allocations: 0 / 0.9513 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002332/0.7495, allocations: 109.7 kB / 0.9514 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.7495, allocations: 82.55 kB / 0.9515 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.55e-05/0.7496, allocations: 100.5 kB / 0.9516 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.7496, allocations: 28.39 kB / 0.9516 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.465e-05/0.7496, allocations: 80.14 kB / 0.9517 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.7496, allocations: 2.719 kB / 0.9517 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.7497, allocations: 21.94 kB / 0.9517 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.507e-05/0.7497, allocations: 314.8 kB / 0.952 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.907e-05/0.7498, allocations: 16.38 kB / 0.952 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.553e-05/0.7498, allocations: 10.86 kB / 0.952 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.463e-05/0.7499, allocations: 78.02 kB / 0.9521 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.7499, allocations: 0 / 0.9521 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001159/0.75, allocations: 100.2 kB / 0.9522 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.75, allocations: 31.2 kB / 0.9522 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.7501, allocations: 5.312 kB / 0.9522 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.7501, allocations: 0 / 0.9522 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.7501, allocations: 4.094 kB / 0.9522 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7501, allocations: 1.375 kB / 0.9522 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.7502, allocations: 16.02 kB / 0.9522 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.7502, allocations: 2.75 kB / 0.9522 GB, free: 6.668 MB / 0.7169 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 6.798e-05/0.7503, allocations: 147 kB / 0.9524 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.7503, allocations: 4.125 kB / 0.9524 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.022e-05/0.7504, allocations: 7.062 kB / 0.9524 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.7504, allocations: 5.359 kB / 0.9524 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.7504, allocations: 0 / 0.9524 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.7504, allocations: 4 kB / 0.9524 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.788e-05/0.7504, allocations: 149.8 kB / 0.9525 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.7505, allocations: 0 / 0.9525 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.7505, allocations: 0 / 0.9525 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.7505, allocations: 1.375 kB / 0.9525 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.7505, allocations: 14.67 kB / 0.9526 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.7505, allocations: 0 / 0.9526 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7505, allocations: 1.375 kB / 0.9526 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.7506, allocations: 125 kB / 0.9527 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.7507, allocations: 81.05 kB / 0.9528 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.7507, allocations: 10.62 kB / 0.9528 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.424e-05/0.7508, allocations: 4.125 kB / 0.9528 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.7508, allocations: 6.75 kB / 0.9528 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.7508, allocations: 6.734 kB / 0.9528 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.165e-05/0.7509, allocations: 76.66 kB / 0.9529 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7509, allocations: 0 / 0.9529 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002067/0.7511, allocations: 16.5 kB / 0.9529 GB, free: 5.988 MB / 0.7169 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.0002363/0.7513, allocations: 109.8 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.7515, allocations: 88 kB / 0.9531 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.7515, allocations: 1.375 kB / 0.9531 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.01e-05/0.7515, allocations: 71.36 kB / 0.9531 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.7517, allocations: 10.84 kB / 0.9531 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.752, allocations: 128.1 kB / 0.9533 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.7521, allocations: 0.6747 MB / 0.9539 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.848e-06/0.7521, allocations: 9.156 kB / 0.9539 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.7521, allocations: 0 / 0.9539 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of Templates: time 0.002304/0.7544, allocations: 0.8831 MB / 0.9548 GB, free: 4.453 MB / 0.7169 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