Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.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.001198/0.001198, allocations: 71.75 kB / 20.97 MB, free: 3.566 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.00125/0.00125, allocations: 169 kB / 24.28 MB, free: 264 kB / 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.9993/0.9993, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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 1.766/1.766, allocations: 359 MB / 0.6055 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] 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.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7871 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.474e-05/1.627e-05, allocations: 5.516 kB / 0.7871 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001932/0.001948, allocations: 1.811 MB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008727/0.002821, allocations: 0.7072 MB / 0.7896 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/0.002888, allocations: 7.938 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.57e-05/0.002923, allocations: 13.52 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.809e-05/0.002981, allocations: 19.73 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.003419, allocations: 182.5 kB / 0.7898 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.003571, allocations: 127.6 kB / 0.7899 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.0037, allocations: 42.64 kB / 0.7899 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.003855, allocations: 87.73 kB / 0.79 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/0.003919, allocations: 35.89 kB / 0.7901 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.00394, allocations: 9.281 kB / 0.7901 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.515e-05/0.004025, allocations: 47.97 kB / 0.7901 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/0.004053, allocations: 31.89 kB / 0.7902 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.00409, allocations: 41.39 kB / 0.7902 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.004271, allocations: 143.5 kB / 0.7903 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.004274, allocations: 3.984 kB / 0.7903 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.72e-07/0.004274, allocations: 0 / 0.7903 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.004279, allocations: 6.75 kB / 0.7903 GB, free: 9.441 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004406/0.004719, allocations: 456 kB / 0.7908 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.004756, allocations: 8.031 kB / 0.7908 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004586/0.005214, allocations: 109.4 kB / 0.7909 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.005403, allocations: 162.6 kB / 0.791 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.366e-05/0.005476, allocations: 115.4 kB / 0.7911 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.005495, allocations: 8.375 kB / 0.7912 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.005764, allocations: 199.1 kB / 0.7913 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.005771, allocations: 1.594 kB / 0.7913 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.005788, allocations: 4 kB / 0.7914 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.005796, allocations: 0 / 0.7914 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.108e-05/0.005887, allocations: 65.53 kB / 0.7914 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.006449, allocations: 411.2 kB / 0.7918 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.006744, allocations: 156.8 kB / 0.792 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.718e-05/0.006792, allocations: 32.34 kB / 0.792 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.006811, allocations: 5.359 kB / 0.792 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.006833, allocations: 41.39 kB / 0.792 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.006834, allocations: 0 / 0.792 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002531/0.007087, allocations: 118.1 kB / 0.7921 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.007114, allocations: 55.34 kB / 0.7922 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.828e-05/0.007212, allocations: 201 kB / 0.7924 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.00723, allocations: 29.7 kB / 0.7924 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.007292, allocations: 166.9 kB / 0.7926 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.007312, allocations: 20.94 kB / 0.7926 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.007351, allocations: 27.38 kB / 0.7926 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.00747, allocations: 0.4962 MB / 0.7931 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.036e-05/0.00752, allocations: 25.3 kB / 0.7931 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.947e-05/0.00758, allocations: 51.05 kB / 0.7932 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.432e-05/0.007674, allocations: 80.73 kB / 0.7933 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.007676, allocations: 0 / 0.7933 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001431/0.007819, allocations: 109.6 kB / 0.7934 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.007831, allocations: 4.812 kB / 0.7934 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.007835, allocations: 4.312 kB / 0.7934 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.007849, allocations: 4.875 kB / 0.7934 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.007958, allocations: 27.97 kB / 0.7934 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.007965, allocations: 9.281 kB / 0.7934 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.069e-05/0.008026, allocations: 15.94 kB / 0.7934 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.008039, allocations: 8.672 kB / 0.7934 GB, free: 6.023 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 7.071e-05/0.008109, allocations: 156.6 kB / 0.7936 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.008136, allocations: 12.45 kB / 0.7936 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.008304, allocations: 108.4 kB / 0.7937 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.008307, allocations: 3.938 kB / 0.7937 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.00831, allocations: 0 / 0.7937 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.008315, allocations: 4.828 kB / 0.7937 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.008449, allocations: 169.2 kB / 0.7939 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.00845, allocations: 3.438 kB / 0.7939 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.757e-05/0.008527, allocations: 27.91 kB / 0.7939 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.008529, allocations: 3.938 kB / 0.7939 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.008539, allocations: 4 kB / 0.7939 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.00854, allocations: 0 / 0.7939 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.008542, allocations: 3.938 kB / 0.7939 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.008707, allocations: 239.9 kB / 0.7941 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.008718, allocations: 11.91 kB / 0.7941 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.008732, allocations: 0.625 kB / 0.7941 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.823e-05/0.00883, allocations: 24.47 kB / 0.7942 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.008864, allocations: 13.7 kB / 0.7942 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.008877, allocations: 7.984 kB / 0.7942 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.94e-05/0.008926, allocations: 141.2 kB / 0.7943 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008926, allocations: 0 / 0.7943 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001644/0.009091, allocations: 27.94 kB / 0.7944 GB, free: 5.023 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 (6): * Single equations (assignments): 6 * 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 7.699e-05/0.009168, allocations: 96.47 kB / 0.7944 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.009312, allocations: 78.39 kB / 0.7945 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.009313, allocations: 0 / 0.7945 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.097e-05/0.009364, allocations: 43.86 kB / 0.7946 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.009562, allocations: 28.09 kB / 0.7946 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/0.01006, allocations: 237.2 kB / 0.7948 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.85e-05/0.0101, allocations: 63.34 kB / 0.7949 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.004e-05/0.01016, allocations: 18.05 kB / 0.7949 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.01021, allocations: 17.61 kB / 0.7949 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.01021, allocations: 0 / 0.7949 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of Templates: time 0.002923/0.01313, allocations: 1.555 MB / 0.7964 GB, free: 2.867 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.076144278980792]