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.001052/0.001052, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00162/0.00162, allocations: 169 kB / 24.28 MB, free: 276 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.9393/0.9393, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.694/1.694, allocations: 359 MB / 0.6055 GB, free: 11.01 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 2.064e-06/2.064e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.42e-05, allocations: 4.719 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002819/0.002853, allocations: 1.519 MB / 0.7886 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003603/0.003214, allocations: 136.6 kB / 0.7887 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.003258, allocations: 3.938 kB / 0.7887 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.524e-05/0.003313, allocations: 0 / 0.7887 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.817e-05/0.003391, allocations: 13.81 kB / 0.7887 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.003634, allocations: 27.91 kB / 0.7888 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.003751, allocations: 47.83 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.00388, allocations: 11.94 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.961e-05/0.003939, allocations: 24.64 kB / 0.7888 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.734e-05/0.003977, allocations: 19.91 kB / 0.7889 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.003996, allocations: 4.844 kB / 0.7889 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.82e-05/0.004074, allocations: 35.97 kB / 0.7889 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.004093, allocations: 9.172 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.004119, allocations: 11.94 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.004251, allocations: 55.86 kB / 0.789 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004254, allocations: 1.406 kB / 0.789 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.423e-06/0.004255, allocations: 0 / 0.789 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.00426, allocations: 0 / 0.789 GB, free: 10.9 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.0004488/0.004708, allocations: 385.5 kB / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.004759, allocations: 8.031 kB / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000548/0.005307, allocations: 154.2 kB / 0.7895 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.005448, allocations: 126.1 kB / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.005467, allocations: 384 / 0.7896 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.005487, allocations: 8.375 kB / 0.7896 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.005806, allocations: 127.5 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.005817, allocations: 5.047 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.005834, allocations: 4.375 kB / 0.7898 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.005847, allocations: 384 / 0.7898 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.347e-05/0.00594, allocations: 49.5 kB / 0.7898 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/0.006491, allocations: 340.6 kB / 0.7901 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.006737, allocations: 92.78 kB / 0.7902 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.006789, allocations: 26.2 kB / 0.7902 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.006814, allocations: 3.938 kB / 0.7902 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.006838, allocations: 37.39 kB / 0.7903 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.006839, allocations: 0 / 0.7903 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002449/0.007084, allocations: 73.61 kB / 0.7903 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.007115, allocations: 51.41 kB / 0.7904 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.949e-05/0.007194, allocations: 166.5 kB / 0.7906 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.007207, allocations: 25.7 kB / 0.7906 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.007264, allocations: 143.5 kB / 0.7907 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.007286, allocations: 3.953 kB / 0.7907 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.007326, allocations: 31.89 kB / 0.7907 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.007438, allocations: 497.8 kB / 0.7912 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.963e-05/0.007478, allocations: 15.98 kB / 0.7912 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.898e-05/0.007507, allocations: 4 kB / 0.7912 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.248e-05/0.007569, allocations: 35.89 kB / 0.7913 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.007572, allocations: 0.5312 kB / 0.7913 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001129/0.007685, allocations: 74.81 kB / 0.7913 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.007698, allocations: 4 kB / 0.7914 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.007704, allocations: 4 kB / 0.7914 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.007719, allocations: 1.156 kB / 0.7914 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.007825, allocations: 19.97 kB / 0.7914 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.007832, allocations: 0 / 0.7914 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.294e-05/0.007885, allocations: 13.36 kB / 0.7914 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.007893, allocations: 4 kB / 0.7914 GB, free: 8.223 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.461e-05/0.007968, allocations: 158.3 kB / 0.7915 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.007989, allocations: 7.938 kB / 0.7916 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.008026, allocations: 8 kB / 0.7916 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.008028, allocations: 0 / 0.7916 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.008033, allocations: 0.875 kB / 0.7916 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.008038, allocations: 4 kB / 0.7916 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.008158, allocations: 140.1 kB / 0.7917 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.008159, allocations: 4 kB / 0.7917 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.008221, allocations: 19.97 kB / 0.7917 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.008224, allocations: 3.938 kB / 0.7917 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.008234, allocations: 0 / 0.7917 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.008235, allocations: 0 / 0.7917 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.008235, allocations: 0 / 0.7917 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.00842, allocations: 211.9 kB / 0.7919 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.00843, allocations: 4.5 kB / 0.7919 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.008448, allocations: 3.938 kB / 0.7919 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.008521, allocations: 13.92 kB / 0.7919 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.008579, allocations: 3.984 kB / 0.792 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.008588, allocations: 4 kB / 0.792 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.004e-05/0.008648, allocations: 135.2 kB / 0.7921 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008648, allocations: 2.188 kB / 0.7921 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001676/0.008815, allocations: 19.89 kB / 0.7921 GB, free: 7.438 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.0001156/0.008931, allocations: 91.25 kB / 0.7922 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001645/0.009095, allocations: 35.67 kB / 0.7922 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.009097, allocations: 4.531 kB / 0.7922 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.011e-05/0.009148, allocations: 28.58 kB / 0.7923 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.009371, allocations: 11.88 kB / 0.7923 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.009881, allocations: 176.1 kB / 0.7924 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.01, allocations: 59.34 kB / 0.7925 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.576e-05/0.01005, allocations: 18.94 kB / 0.7925 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.0101, allocations: 11.03 kB / 0.7925 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.0101, allocations: 0 / 0.7925 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of Templates: time 0.002627/0.01272, allocations: 0.9702 MB / 0.7935 GB, free: 6.012 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.990707887103781]