Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.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.001036/0.001036, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.00114/0.00114, allocations: 181 kB / 24.09 MB, free: 412 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.9723/0.9723, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.814/1.814, 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.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.[0-9,]+..y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.[0-9,]+..y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.806e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002877/0.002905, allocations: 1.516 MB / 0.789 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000408/0.003313, allocations: 139.5 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.003352, allocations: 0 / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.306e-05/0.003395, allocations: 4.688 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.692e-05/0.003472, allocations: 8.781 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.003708, allocations: 31.89 kB / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.977e-05/0.003808, allocations: 44.5 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.003924, allocations: 19.92 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.979e-05/0.003983, allocations: 21.58 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.341e-05/0.004027, allocations: 15.97 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.004043, allocations: 7.938 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.81e-05/0.004131, allocations: 35.97 kB / 0.7894 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.004148, allocations: 4.562 kB / 0.7894 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.004169, allocations: 8 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.004307, allocations: 63.23 kB / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004309, allocations: 0 / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.11e-07/0.00431, allocations: 0 / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.004314, allocations: 4 kB / 0.7894 GB, free: 10.28 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004161/0.00473, allocations: 376.5 kB / 0.7898 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.004772, allocations: 16.03 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004929/0.005265, allocations: 83.14 kB / 0.7899 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.661e-05/0.005351, allocations: 116.5 kB / 0.79 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.005366, allocations: 12.36 kB / 0.79 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.00538, allocations: 384 / 0.79 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.00561, allocations: 108 kB / 0.7901 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.005618, allocations: 4.125 kB / 0.7901 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.005629, allocations: 1.125 kB / 0.7901 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.005635, allocations: 384 / 0.7901 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.03e-05/0.005715, allocations: 41.25 kB / 0.7902 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.006219, allocations: 318.3 kB / 0.7905 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.006474, allocations: 71.83 kB / 0.7905 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.006514, allocations: 24.98 kB / 0.7906 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.006535, allocations: 4 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.006559, allocations: 37.33 kB / 0.7906 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.00656, allocations: 1.344 kB / 0.7906 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002125/0.006772, allocations: 61.61 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.006802, allocations: 55.41 kB / 0.7907 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.047e-05/0.006882, allocations: 166.5 kB / 0.7909 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.006898, allocations: 30.23 kB / 0.7909 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.006951, allocations: 138.8 kB / 0.791 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.006975, allocations: 12.81 kB / 0.791 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.007023, allocations: 27.36 kB / 0.7911 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002618/0.007285, allocations: 496.9 kB / 0.7915 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.05e-05/0.007326, allocations: 11.98 kB / 0.7915 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.019e-05/0.007356, allocations: 4.531 kB / 0.7916 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.701e-05/0.007423, allocations: 25 kB / 0.7916 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007424, allocations: 0 / 0.7916 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001284/0.007553, allocations: 61.62 kB / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.007567, allocations: 9.156 kB / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.007572, allocations: 0 / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.007584, allocations: 4 kB / 0.7916 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.007704, allocations: 16.95 kB / 0.7917 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.007706, allocations: 4 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.776e-05/0.007774, allocations: 16.7 kB / 0.7917 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.007784, allocations: 0.8125 kB / 0.7917 GB, free: 7.785 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 (3): * Single equations (assignments): 3 * 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.918e-05/0.007863, allocations: 161.5 kB / 0.7918 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.007897, allocations: 11.88 kB / 0.7918 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.007935, allocations: 9.203 kB / 0.7919 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.007937, allocations: 0 / 0.7919 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.007942, allocations: 7.984 kB / 0.7919 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007945, allocations: 4.906 kB / 0.7919 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.008104, allocations: 105.2 kB / 0.792 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.008106, allocations: 0 / 0.792 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.327e-05/0.008199, allocations: 22.22 kB / 0.792 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.008202, allocations: 0 / 0.792 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.008212, allocations: 8 kB / 0.792 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.008216, allocations: 3.938 kB / 0.792 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.008217, allocations: 0 / 0.792 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.008393, allocations: 203.1 kB / 0.7922 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.008404, allocations: 11.98 kB / 0.7922 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.008417, allocations: 0 / 0.7922 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.008523, allocations: 15.92 kB / 0.7922 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.008547, allocations: 0 / 0.7922 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.008555, allocations: 3.984 kB / 0.7922 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.434e-05/0.0086, allocations: 131.5 kB / 0.7924 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.0086, allocations: 3.938 kB / 0.7924 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002518/0.008851, allocations: 17.05 kB / 0.7924 GB, free: 7.031 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 (3): * Single equations (assignments): 3 * 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.0001079/0.008959, allocations: 95.75 kB / 0.7925 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.009078, allocations: 32.22 kB / 0.7925 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.00908, allocations: 4.562 kB / 0.7925 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.613e-05/0.009126, allocations: 15.69 kB / 0.7925 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.009385, allocations: 17.27 kB / 0.7925 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.009782, allocations: 167.1 kB / 0.7927 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.058e-05/0.009822, allocations: 59.34 kB / 0.7927 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.632e-05/0.009878, allocations: 13.77 kB / 0.7928 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.009969, allocations: 74.19 kB / 0.7928 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.00997, allocations: 0 / 0.7928 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of Templates: time 0.003308/0.01328, allocations: 1.025 MB / 0.7938 GB, free: 5.496 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothMin.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.972848612815142]