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.00136/0.00136, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.001388/0.001388, allocations: 161.4 kB / 23.81 MB, free: 0.7617 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.9173/0.9173, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.722/1.722, allocations: 359 MB / 0.6052 GB, free: 11.02 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.713e-06/1.713e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.944e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003101/0.003131, allocations: 1.822 MB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008937/0.004024, allocations: 0.7117 MB / 0.7896 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.22e-05/0.004087, allocations: 7.938 kB / 0.7896 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.004121, allocations: 7.875 kB / 0.7896 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.132e-05/0.004182, allocations: 20.84 kB / 0.7896 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.004637, allocations: 175.4 kB / 0.7898 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.004855, allocations: 135.5 kB / 0.7899 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.004978, allocations: 41.58 kB / 0.79 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.005131, allocations: 83.8 kB / 0.79 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.005193, allocations: 33.95 kB / 0.7901 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.005216, allocations: 12 kB / 0.7901 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.928e-05/0.005306, allocations: 51.95 kB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.005332, allocations: 27.91 kB / 0.7902 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.00537, allocations: 39.89 kB / 0.7902 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.005555, allocations: 149 kB / 0.7903 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.005558, allocations: 0 / 0.7903 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005559, allocations: 0 / 0.7903 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.005564, allocations: 0 / 0.7903 GB, free: 9.184 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.0004219/0.005986, allocations: 461.8 kB / 0.7908 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.00602, allocations: 8.031 kB / 0.7908 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004394/0.00646, allocations: 106.2 kB / 0.7909 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.006641, allocations: 167.9 kB / 0.791 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/0.006713, allocations: 119.3 kB / 0.7912 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.006732, allocations: 12.38 kB / 0.7912 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.006999, allocations: 198.4 kB / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.007006, allocations: 0 / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.007022, allocations: 4 kB / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.007028, allocations: 0 / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.21e-05/0.007121, allocations: 63.81 kB / 0.7914 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005618/0.007682, allocations: 412.2 kB / 0.7918 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.007983, allocations: 147.6 kB / 0.792 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.008032, allocations: 36.86 kB / 0.792 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.008049, allocations: 0 / 0.792 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.008075, allocations: 41.39 kB / 0.792 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.008076, allocations: 1.156 kB / 0.792 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002538/0.00833, allocations: 117.6 kB / 0.7921 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.008357, allocations: 60.7 kB / 0.7922 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.316e-05/0.00845, allocations: 195.6 kB / 0.7924 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.008469, allocations: 29.7 kB / 0.7924 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.008526, allocations: 162.9 kB / 0.7926 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.008547, allocations: 24.62 kB / 0.7926 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.008589, allocations: 31.36 kB / 0.7926 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.008699, allocations: 0.4931 MB / 0.7931 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.534e-05/0.008744, allocations: 23.98 kB / 0.7931 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.789e-05/0.008802, allocations: 52.33 kB / 0.7932 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.412e-05/0.008896, allocations: 78.98 kB / 0.7933 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.008898, allocations: 0.8438 kB / 0.7933 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001479/0.009046, allocations: 114.8 kB / 0.7934 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.009059, allocations: 4 kB / 0.7934 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.009065, allocations: 5.469 kB / 0.7934 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.009078, allocations: 3.938 kB / 0.7934 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.009191, allocations: 27.97 kB / 0.7934 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.009196, allocations: 5.219 kB / 0.7934 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.009261, allocations: 23.91 kB / 0.7934 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.009272, allocations: 4 kB / 0.7934 GB, free: 5.762 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.47e-05/0.009347, allocations: 163.6 kB / 0.7936 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.009375, allocations: 11.95 kB / 0.7936 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001697/0.009544, allocations: 110.4 kB / 0.7937 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.009547, allocations: 3.938 kB / 0.7937 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.00955, allocations: 0 / 0.7937 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.009552, allocations: 0.5 kB / 0.7937 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.009687, allocations: 170.6 kB / 0.7939 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.009688, allocations: 0 / 0.7939 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.626e-05/0.009765, allocations: 23.97 kB / 0.7939 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.009766, allocations: 4.969 kB / 0.7939 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.009777, allocations: 4 kB / 0.7939 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.009778, allocations: 0 / 0.7939 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.00978, allocations: 4.594 kB / 0.7939 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.009948, allocations: 240.4 kB / 0.7941 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.009959, allocations: 18.7 kB / 0.7942 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.009973, allocations: 0 / 0.7942 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.555e-05/0.01007, allocations: 15.98 kB / 0.7942 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.0101, allocations: 15.92 kB / 0.7942 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.01012, allocations: 3.984 kB / 0.7942 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.01016, allocations: 144.9 kB / 0.7943 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01016, allocations: 0 / 0.7943 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001713/0.01033, allocations: 26.22 kB / 0.7944 GB, free: 4.766 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.587e-05/0.01043, allocations: 106.5 kB / 0.7945 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001503/0.01058, allocations: 75.78 kB / 0.7945 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01058, allocations: 0.9375 kB / 0.7945 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.103e-05/0.01063, allocations: 43.61 kB / 0.7946 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.01083, allocations: 25.05 kB / 0.7946 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/0.01134, allocations: 235.7 kB / 0.7948 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.526e-05/0.01138, allocations: 63.34 kB / 0.7949 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.648e-05/0.01143, allocations: 15.72 kB / 0.7949 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.01148, allocations: 16.67 kB / 0.7949 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of SimCode: time 1.112e-06/0.01148, allocations: 7.938 kB / 0.7949 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of Templates: time 0.003163/0.01465, allocations: 1.697 MB / 0.7966 GB, free: 2.445 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.689828342292458]