Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.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.001849/0.001849, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.001995/0.001995, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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 1.586/1.586, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.899/2.899, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.576e-05, allocations: 2.938 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002775/0.002801, allocations: 1.475 MB / 0.7878 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004952/0.003296, allocations: 184.1 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.003331, allocations: 0 / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.003354, allocations: 0 / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.433e-05/0.003409, allocations: 4.469 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.00369, allocations: 44.75 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.368e-05/0.003764, allocations: 27.91 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.634e-05/0.00385, allocations: 5.062 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.349e-05/0.003914, allocations: 11.98 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.211e-05/0.003956, allocations: 11.92 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.003972, allocations: 1.406 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.004075, allocations: 31.97 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.00409, allocations: 4 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.789e-05/0.004108, allocations: 4 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.004245, allocations: 52.91 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004247, allocations: 0 / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004248, allocations: 0 / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.004251, allocations: 1.562 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004972/0.004749, allocations: 368.2 kB / 0.7885 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.004784, allocations: 8.031 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.004828, allocations: 6.812 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.004944, allocations: 108.6 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.004956, allocations: 384 / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.004974, allocations: 4.375 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.005123, allocations: 50.17 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.005132, allocations: 2.531 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.00514, allocations: 384 / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.005144, allocations: 384 / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.005258, allocations: 27.92 kB / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.005614, allocations: 247.8 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.005738, allocations: 47.66 kB / 0.789 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.027e-05/0.005808, allocations: 29.38 kB / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.972e-05/0.005868, allocations: 4 kB / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.005914, allocations: 37.39 kB / 0.7891 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.005915, allocations: 0 / 0.7891 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002867/0.006202, allocations: 70.39 kB / 0.7892 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.006247, allocations: 52.16 kB / 0.7892 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.006385, allocations: 165.9 kB / 0.7894 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.006403, allocations: 27.17 kB / 0.7894 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.006484, allocations: 130.9 kB / 0.7895 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.006506, allocations: 11.94 kB / 0.7895 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.006546, allocations: 21.62 kB / 0.7896 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002714/0.006817, allocations: 0.4923 MB / 0.79 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-05/0.006884, allocations: 8 kB / 0.79 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.409e-05/0.006928, allocations: 7.984 kB / 0.79 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.007035, allocations: 36.39 kB / 0.7901 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.007037, allocations: 3.938 kB / 0.7901 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001448/0.007181, allocations: 55.88 kB / 0.7901 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.007196, allocations: 4 kB / 0.7901 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.007202, allocations: 3.938 kB / 0.7901 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.007216, allocations: 0 / 0.7901 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.685e-05/0.007293, allocations: 12.55 kB / 0.7902 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.0073, allocations: 4.25 kB / 0.7902 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.007333, allocations: 5.25 kB / 0.7902 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.007341, allocations: 4 kB / 0.7902 GB, free: 8.758 MB / 0.7448 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001079/0.007448, allocations: 156.6 kB / 0.7903 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.007477, allocations: 9.109 kB / 0.7903 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.00767, allocations: 64.92 kB / 0.7904 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.007672, allocations: 1.375 kB / 0.7904 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.007675, allocations: 0 / 0.7904 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.007677, allocations: 0 / 0.7904 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.007845, allocations: 118.4 kB / 0.7905 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.007848, allocations: 4 kB / 0.7905 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.159e-05/0.00789, allocations: 4 kB / 0.7905 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.007891, allocations: 0 / 0.7905 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.007898, allocations: 0 / 0.7905 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.007902, allocations: 5.219 kB / 0.7905 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.361e-06/0.007907, allocations: 7.922 kB / 0.7905 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.008149, allocations: 200.6 kB / 0.7907 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.008157, allocations: 4 kB / 0.7907 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.00817, allocations: 0.875 kB / 0.7907 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.206e-05/0.008232, allocations: 7.922 kB / 0.7907 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.008276, allocations: 5.562 kB / 0.7907 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.008279, allocations: 0 / 0.7907 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.638e-05/0.008356, allocations: 127.2 kB / 0.7909 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008356, allocations: 0 / 0.7909 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002248/0.00858, allocations: 16.98 kB / 0.7909 GB, free: 7.977 MB / 0.7448 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001874/0.008768, allocations: 99.25 kB / 0.791 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001799/0.008948, allocations: 38.95 kB / 0.791 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008949, allocations: 0 / 0.791 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.319e-05/0.009023, allocations: 27.67 kB / 0.791 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.00926, allocations: 14.2 kB / 0.791 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/0.009739, allocations: 122.3 kB / 0.7912 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.098e-05/0.00981, allocations: 63.84 kB / 0.7912 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.174e-05/0.009832, allocations: 1.938 kB / 0.7912 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.009856, allocations: 8.5 kB / 0.7912 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.009856, allocations: 4 kB / 0.7912 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of Templates: time 0.003462/0.01332, allocations: 0.6297 MB / 0.7918 GB, free: 6.941 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.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: 8.070893677999265]