Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008555/0.0008555, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008475/0.0008475, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9136/0.9136, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.784/1.784, allocations: 377.9 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.778e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001369/0.001397, allocations: 0.5798 MB / 0.9828 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001978/0.001594, allocations: 103.7 kB / 0.9829 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.00162, allocations: 4 kB / 0.9829 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.001722, allocations: 3.938 kB / 0.9829 GB, free: 1.398 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.439e-05/0.001776, allocations: 0 / 0.9829 GB, free: 1.398 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.001904, allocations: 35.89 kB / 0.9829 GB, free: 1.363 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.52e-05/0.001999, allocations: 35.91 kB / 0.9829 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.002042, allocations: 0 / 0.9829 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.292e-05/0.002085, allocations: 19.98 kB / 0.983 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.707e-05/0.002142, allocations: 11.98 kB / 0.983 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.002161, allocations: 4 kB / 0.983 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.999e-05/0.002201, allocations: 8 kB / 0.983 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.002214, allocations: 3.984 kB / 0.983 GB, free: 1.281 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.002242, allocations: 8 kB / 0.983 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.002355, allocations: 43.81 kB / 0.983 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.002358, allocations: 0 / 0.983 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.643e-06/0.002359, allocations: 0 / 0.983 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.002364, allocations: 0 / 0.983 GB, free: 1.23 MB / 0.9323 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.0002983/0.002662, allocations: 280.1 kB / 0.9833 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.002699, allocations: 12.03 kB / 0.9833 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.002735, allocations: 8.875 kB / 0.9833 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.834e-05/0.002824, allocations: 109.8 kB / 0.9834 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.002835, allocations: 384 / 0.9834 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.002847, allocations: 4.375 kB / 0.9834 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.00296, allocations: 83.92 kB / 0.9835 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.002967, allocations: 192 / 0.9835 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.002978, allocations: 4.359 kB / 0.9835 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.002983, allocations: 384 / 0.9835 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.847e-05/0.003022, allocations: 45.62 kB / 0.9836 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.551e-05/0.003117, allocations: 97.33 kB / 0.9836 GB, free: 500 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.041e-05/0.003178, allocations: 72.17 kB / 0.9837 GB, free: 412 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.003209, allocations: 42.61 kB / 0.9838 GB, free: 360 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.003216, allocations: 0 / 0.9838 GB, free: 360 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.003236, allocations: 30.56 kB / 0.9838 GB, free: 320 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.003236, allocations: 0 / 0.9838 GB, free: 320 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0002067/0.003443, allocations: 158.8 kB / 0.9839 GB, free: 136 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.003479, allocations: 81.09 kB / 0.984 GB, free: 36 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.062e-05/0.00357, allocations: 105.7 kB / 0.9841 GB, free: 15.92 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.003582, allocations: 29.95 kB / 0.9841 GB, free: 15.89 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.204e-05/0.003604, allocations: 84.14 kB / 0.9842 GB, free: 15.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.003628, allocations: 3.953 kB / 0.9842 GB, free: 15.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.00366, allocations: 25.7 kB / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.201e-05/0.003732, allocations: 314.8 kB / 0.9846 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.335e-05/0.003765, allocations: 37.69 kB / 0.9846 GB, free: 15.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.606e-05/0.003791, allocations: 37.7 kB / 0.9846 GB, free: 15.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.853e-05/0.003849, allocations: 80.25 kB / 0.9847 GB, free: 15.27 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.003852, allocations: 0 / 0.9847 GB, free: 15.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001021/0.003954, allocations: 125 kB / 0.9848 GB, free: 15.13 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.003982, allocations: 37.8 kB / 0.9849 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.003987, allocations: 0 / 0.9849 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.004, allocations: 3.938 kB / 0.9849 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-07/0.004001, allocations: 0 / 0.9849 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.004006, allocations: 0 / 0.9849 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.004119, allocations: 11.92 kB / 0.9849 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.004129, allocations: 4 kB / 0.9849 GB, free: 15.07 MB / 0.948 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.616e-05/0.004195, allocations: 139.5 kB / 0.985 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-06/0.004203, allocations: 0 / 0.985 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.156e-05/0.004214, allocations: 15.14 kB / 0.985 GB, free: 14.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.004216, allocations: 4 kB / 0.985 GB, free: 14.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.004221, allocations: 0 / 0.985 GB, free: 14.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.004225, allocations: 3.938 kB / 0.985 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.792e-05/0.004272, allocations: 97.33 kB / 0.9851 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.004274, allocations: 0 / 0.9851 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.004274, allocations: 0 / 0.9851 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.004276, allocations: 4 kB / 0.9851 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.004286, allocations: 7.984 kB / 0.9851 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.004286, allocations: 0 / 0.9851 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.004287, allocations: 0 / 0.9851 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.004409, allocations: 160.4 kB / 0.9853 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-06/0.004415, allocations: 3.938 kB / 0.9853 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.004426, allocations: 4 kB / 0.9853 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.975e-05/0.004486, allocations: 7.984 kB / 0.9853 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.0045, allocations: 7.938 kB / 0.9853 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.004504, allocations: 0 / 0.9853 GB, free: 14.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.422e-05/0.004529, allocations: 83.28 kB / 0.9854 GB, free: 14.46 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004529, allocations: 0 / 0.9854 GB, free: 14.46 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001361/0.004665, allocations: 15.94 kB / 0.9854 GB, free: 14.45 MB / 0.948 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.0001948/0.00486, allocations: 120 kB / 0.9855 GB, free: 14.33 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001365/0.004996, allocations: 134.8 kB / 0.9856 GB, free: 14.17 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.004998, allocations: 0 / 0.9856 GB, free: 14.17 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.00504, allocations: 101 kB / 0.9857 GB, free: 14.05 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.00516, allocations: 4 kB / 0.9857 GB, free: 14.05 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003354/0.005495, allocations: 164.3 kB / 0.9859 GB, free: 13.85 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.663e-05/0.005532, allocations: 55.36 kB / 0.986 GB, free: 13.78 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.504e-05/0.005547, allocations: 8.5 kB / 0.986 GB, free: 13.77 MB / 0.948 GB Notification: Performance of SimCode: time 6.52e-07/0.005547, allocations: 0 / 0.986 GB, free: 13.77 MB / 0.948 GB Notification: Performance of Templates: time 0.002003/0.00755, allocations: 0.9033 MB / 0.9868 GB, free: 12.87 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.92930110078305]