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.001016/0.001016, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001111/0.001111, allocations: 181 kB / 24.09 MB, free: 416 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.9441/0.9441, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.844/1.844, allocations: 359 MB / 0.6055 GB, free: 10.88 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 2.475e-06/2.475e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.313e-05/3.561e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003541/0.003576, allocations: 1.801 MB / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009803/0.004557, allocations: 0.72 MB / 0.79 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.306e-05/0.00463, allocations: 0 / 0.79 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.004662, allocations: 7.875 kB / 0.79 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.753e-05/0.00473, allocations: 24.8 kB / 0.7901 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.005225, allocations: 174.7 kB / 0.7902 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.005383, allocations: 127.6 kB / 0.7903 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.005503, allocations: 38.62 kB / 0.7904 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.00567, allocations: 91.73 kB / 0.7905 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.005734, allocations: 35.89 kB / 0.7905 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.005758, allocations: 9.188 kB / 0.7905 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.757e-05/0.005856, allocations: 55.94 kB / 0.7906 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.005878, allocations: 23.91 kB / 0.7906 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.005913, allocations: 44.61 kB / 0.7906 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.006081, allocations: 143.5 kB / 0.7908 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.006083, allocations: 5.594 kB / 0.7908 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.122e-06/0.006084, allocations: 0 / 0.7908 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.006087, allocations: 0 / 0.7908 GB, free: 8.883 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.000394/0.006481, allocations: 461.2 kB / 0.7912 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.006519, allocations: 12.03 kB / 0.7912 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003914/0.00691, allocations: 102.3 kB / 0.7913 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.007064, allocations: 164 kB / 0.7915 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/0.007132, allocations: 123.4 kB / 0.7916 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.007154, allocations: 8.375 kB / 0.7916 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.007373, allocations: 194.4 kB / 0.7918 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.007379, allocations: 0 / 0.7918 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.007391, allocations: 4 kB / 0.7918 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.007396, allocations: 0 / 0.7918 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.79e-05/0.007454, allocations: 47.88 kB / 0.7918 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/0.007936, allocations: 392.9 kB / 0.7922 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.008192, allocations: 135.5 kB / 0.7923 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/0.008229, allocations: 41.16 kB / 0.7924 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.008249, allocations: 0 / 0.7924 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.008273, allocations: 38.55 kB / 0.7924 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.008274, allocations: 3.938 kB / 0.7924 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001889/0.008463, allocations: 105.6 kB / 0.7925 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.008486, allocations: 52.59 kB / 0.7926 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.459e-05/0.008571, allocations: 199.9 kB / 0.7928 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.008588, allocations: 25.7 kB / 0.7928 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.008647, allocations: 160.7 kB / 0.7929 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.008668, allocations: 27.78 kB / 0.793 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.008709, allocations: 31.36 kB / 0.793 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.008822, allocations: 0.4962 MB / 0.7935 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.008856, allocations: 17.97 kB / 0.7935 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.475e-05/0.008901, allocations: 51.03 kB / 0.7936 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.163e-05/0.008972, allocations: 66.98 kB / 0.7936 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.008975, allocations: 0.75 kB / 0.7936 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001377/0.009112, allocations: 101 kB / 0.7937 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.009126, allocations: 4 kB / 0.7937 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.009131, allocations: 0 / 0.7937 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.009145, allocations: 4 kB / 0.7937 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.009296, allocations: 31.84 kB / 0.7938 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.0093, allocations: 4 kB / 0.7938 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.129e-05/0.009391, allocations: 19.92 kB / 0.7938 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.009405, allocations: 4 kB / 0.7938 GB, free: 5.574 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 9.265e-05/0.009497, allocations: 157.2 kB / 0.7939 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.009529, allocations: 8.766 kB / 0.7939 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.009689, allocations: 108 kB / 0.794 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.009692, allocations: 3.984 kB / 0.794 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.009697, allocations: 13.66 kB / 0.7941 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.0097, allocations: 0 / 0.7941 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.009841, allocations: 137.9 kB / 0.7942 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.009844, allocations: 4 kB / 0.7942 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-05/0.00992, allocations: 20.78 kB / 0.7942 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.009924, allocations: 4 kB / 0.7942 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.009931, allocations: 0.8125 kB / 0.7942 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.009932, allocations: 0 / 0.7942 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.009933, allocations: 0.9375 kB / 0.7942 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.0101, allocations: 239.8 kB / 0.7944 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.01011, allocations: 17.23 kB / 0.7945 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.01012, allocations: 0 / 0.7945 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.405e-05/0.01021, allocations: 19.98 kB / 0.7945 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.01024, allocations: 8.734 kB / 0.7945 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.01025, allocations: 7.984 kB / 0.7945 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.712e-05/0.0103, allocations: 146.9 kB / 0.7946 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.0103, allocations: 0 / 0.7946 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001653/0.01047, allocations: 24 kB / 0.7947 GB, free: 4.625 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 9.618e-05/0.01056, allocations: 99.23 kB / 0.7948 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.01068, allocations: 70.44 kB / 0.7948 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01068, allocations: 0 / 0.7948 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.862e-05/0.01072, allocations: 31.67 kB / 0.7949 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.01091, allocations: 24.12 kB / 0.7949 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/0.01134, allocations: 227.5 kB / 0.7951 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.692e-05/0.01138, allocations: 67.28 kB / 0.7952 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.537e-05/0.01143, allocations: 15.27 kB / 0.7952 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.01157, allocations: 118.8 kB / 0.7953 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.01157, allocations: 0 / 0.7953 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of Templates: time 0.003142/0.01471, allocations: 1.71 MB / 0.797 GB, free: 2.246 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: 4.992370964959264]