Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 102.1 kB / 16.35 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 192 kB / 17.29 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.849/1.849, allocations: 292.3 MB / 0.5496 GB, free: 17.4 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 67.91 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2569, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter): time 0.002409/0.2593, allocations: 1.145 MB / 0.7859 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.2607, allocations: 0.976 MB / 0.7869 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.817e-05/0.2608, allocations: 0 / 0.7869 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.745e-05/0.2608, allocations: 19.73 kB / 0.7869 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.261, allocations: 43.53 kB / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.2613, allocations: 75.83 kB / 0.787 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.2616, allocations: 247.3 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.2617, allocations: 68.94 kB / 0.7873 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.2619, allocations: 103.5 kB / 0.7874 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.2621, allocations: 127.4 kB / 0.7875 GB, free: 404 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.554e-05/0.2621, allocations: 20 kB / 0.7875 GB, free: 384 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.22e-05/0.2622, allocations: 24 kB / 0.7876 GB, free: 360 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.216e-05/0.2622, allocations: 47.83 kB / 0.7876 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.2624, allocations: 107.3 kB / 0.7877 GB, free: 204 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.3982/0.6606, allocations: 239.8 kB / 0.7879 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.158e-06/0.6607, allocations: 1.656 kB / 0.7879 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.545e-06/0.6607, allocations: 0 / 0.7879 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.6607, allocations: 0 / 0.7879 GB, free: 47.07 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001172/0.6619, allocations: 0.6073 MB / 0.7885 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.6619, allocations: 10.62 kB / 0.7885 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.662, allocations: 27.69 kB / 0.7886 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.6622, allocations: 236.9 kB / 0.7888 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.6622, allocations: 10.05 kB / 0.7888 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.6622, allocations: 11.81 kB / 0.7888 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006992/0.6629, allocations: 254.2 kB / 0.7891 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.663, allocations: 192 / 0.7891 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.663, allocations: 11.23 kB / 0.7891 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.663, allocations: 2.688 kB / 0.7891 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009945/0.664, allocations: 300 kB / 0.7894 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006802/0.6647, allocations: 0.5126 MB / 0.7899 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007118/0.6654, allocations: 253.8 kB / 0.7901 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005603/0.666, allocations: 169.9 kB / 0.7903 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.6661, allocations: 2.188 kB / 0.7903 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.6661, allocations: 34.12 kB / 0.7903 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.6661, allocations: 0 / 0.7903 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17): time 0.0018/0.6679, allocations: 0.5141 MB / 0.7908 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.6679, allocations: 54.53 kB / 0.7908 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.6681, allocations: 208.9 kB / 0.791 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.6682, allocations: 29.52 kB / 0.7911 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.6682, allocations: 146.5 kB / 0.7912 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.6683, allocations: 56.59 kB / 0.7913 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/0.6684, allocations: 30.72 kB / 0.7913 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.753e-05/0.6684, allocations: 336 kB / 0.7916 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005613/0.669, allocations: 148 kB / 0.7918 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/0.6695, allocations: 157.1 kB / 0.7919 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.6706, allocations: 301.9 kB / 0.7922 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.6706, allocations: 2.156 kB / 0.7922 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001137/0.6717, allocations: 377 kB / 0.7926 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.6718, allocations: 3.5 kB / 0.7926 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.6718, allocations: 3.375 kB / 0.7926 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.6718, allocations: 8.125 kB / 0.7926 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.6722, allocations: 76.44 kB / 0.7926 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.6722, allocations: 3.469 kB / 0.7927 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.6725, allocations: 56.83 kB / 0.7927 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.6726, allocations: 7.094 kB / 0.7927 GB, free: 45.27 MB / 0.6544 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 (18): * Single equations (assignments): 18 * 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 0.0001046/0.6727, allocations: 130.9 kB / 0.7928 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.6728, allocations: 22.25 kB / 0.7929 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.155e-05/0.6728, allocations: 30.09 kB / 0.7929 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6728, allocations: 3.438 kB / 0.7929 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.6728, allocations: 2.078 kB / 0.7929 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6728, allocations: 0 / 0.7929 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.6731, allocations: 298.6 kB / 0.7932 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6731, allocations: 0 / 0.7932 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/0.6735, allocations: 76.88 kB / 0.7932 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.6735, allocations: 0 / 0.7932 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.6736, allocations: 8.25 kB / 0.7933 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6736, allocations: 1.281 kB / 0.7933 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6736, allocations: 0 / 0.7933 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.6753, allocations: 0.6538 MB / 0.7939 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.6753, allocations: 95.86 kB / 0.794 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.6754, allocations: 7.812 kB / 0.794 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.6757, allocations: 50.14 kB / 0.794 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.6758, allocations: 25.59 kB / 0.7941 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.6758, allocations: 3.438 kB / 0.7941 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.853e-05/0.6759, allocations: 157.8 kB / 0.7942 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6759, allocations: 0 / 0.7942 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002736/0.6762, allocations: 41.75 kB / 0.7943 GB, free: 44.58 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (sleRatLim.y) * 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 (17): * Single equations (assignments): 17 * 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.0001223/0.6763, allocations: 106.1 kB / 0.7944 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.6775, allocations: 339.7 kB / 0.7947 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6775, allocations: 0 / 0.7947 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005543/0.6781, allocations: 179.5 kB / 0.7949 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.6785, allocations: 35.52 kB / 0.7949 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006793/0.6792, allocations: 393.7 kB / 0.7953 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.6794, allocations: 0.7358 MB / 0.796 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.818e-05/0.6795, allocations: 14.06 kB / 0.796 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.473e-05/0.6795, allocations: 22.48 kB / 0.796 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.6795, allocations: 0 / 0.796 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of Templates: time 0.006326/0.6859, allocations: 2.765 MB / 0.7987 GB, free: 43.46 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe 2>&1)