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.001225/0.001226, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008549/0.008549, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.784/1.784, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.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.841/1.841, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0007486/0.0007485, allocations: 20.12 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3204, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter): time 0.001355/0.3218, allocations: 0.8494 MB / 0.7887 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.323, allocations: 0.9722 MB / 0.7897 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.384e-05/0.3231, allocations: 4 kB / 0.7897 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.3231, allocations: 11.86 kB / 0.7897 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.3233, allocations: 39.66 kB / 0.7897 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.3235, allocations: 59.92 kB / 0.7898 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.3237, allocations: 227.3 kB / 0.79 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.3239, allocations: 76.86 kB / 0.7901 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.324, allocations: 75.62 kB / 0.7901 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.3242, allocations: 107.5 kB / 0.7903 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.3242, allocations: 12 kB / 0.7903 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.394e-05/0.3242, allocations: 8 kB / 0.7903 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.493e-05/0.3243, allocations: 31.83 kB / 0.7903 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.773e-05/0.3244, allocations: 125 kB / 0.7904 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.3246, allocations: 207.4 kB / 0.7906 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3246, allocations: 4 kB / 0.7906 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.285e-06/0.3246, allocations: 0 / 0.7906 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.3246, allocations: 0 / 0.7906 GB, free: 8.73 MB / 0.6075 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.001148/0.3258, allocations: 0.6155 MB / 0.7912 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3258, allocations: 12.03 kB / 0.7912 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.704e-05/0.3259, allocations: 32.55 kB / 0.7913 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.3261, allocations: 238.8 kB / 0.7915 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.3262, allocations: 12.38 kB / 0.7915 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.3262, allocations: 16.31 kB / 0.7915 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008187/0.327, allocations: 290 kB / 0.7918 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.327, allocations: 4.188 kB / 0.7918 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.3271, allocations: 7.938 kB / 0.7918 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3271, allocations: 4 kB / 0.7918 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.3283, allocations: 387.7 kB / 0.7922 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007852/0.3291, allocations: 0.5237 MB / 0.7927 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008532/0.33, allocations: 306.3 kB / 0.793 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006618/0.3307, allocations: 216.7 kB / 0.7932 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.3307, allocations: 4 kB / 0.7932 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3307, allocations: 30.56 kB / 0.7932 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 2.164e-06/0.3307, allocations: 0 / 0.7932 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.002078/0.3328, allocations: 0.6561 MB / 0.7939 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.3329, allocations: 55.41 kB / 0.7939 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.3331, allocations: 213 kB / 0.7941 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.3331, allocations: 29.64 kB / 0.7942 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.484e-05/0.3332, allocations: 152.2 kB / 0.7943 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.3333, allocations: 47.27 kB / 0.7943 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.3333, allocations: 17.72 kB / 0.7944 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3334, allocations: 338.8 kB / 0.7947 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006547/0.3341, allocations: 195.8 kB / 0.7949 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006341/0.3347, allocations: 203.8 kB / 0.7951 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.336, allocations: 407.7 kB / 0.7955 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.336, allocations: 0 / 0.7955 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001364/0.3374, allocations: 465.1 kB / 0.7959 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.3374, allocations: 4 kB / 0.7959 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3374, allocations: 0 / 0.7959 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.3374, allocations: 19.86 kB / 0.7959 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000467/0.3379, allocations: 95.91 kB / 0.796 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.3379, allocations: 4 kB / 0.796 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.3383, allocations: 87.77 kB / 0.7961 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.3383, allocations: 7.938 kB / 0.7961 GB, free: 2.887 MB / 0.6075 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.000157/0.3385, allocations: 129.8 kB / 0.7962 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.3385, allocations: 19.72 kB / 0.7962 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.996e-05/0.3386, allocations: 38.11 kB / 0.7963 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3386, allocations: 0 / 0.7963 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.3386, allocations: 0 / 0.7963 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3387, allocations: 0 / 0.7963 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.339, allocations: 293.3 kB / 0.7966 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.339, allocations: 4 kB / 0.7966 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/0.3395, allocations: 99.91 kB / 0.7967 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3395, allocations: 0 / 0.7967 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.3396, allocations: 7.938 kB / 0.7967 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3396, allocations: 0 / 0.7967 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3396, allocations: 0 / 0.7967 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.3418, allocations: 0.7944 MB / 0.7974 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.3419, allocations: 92.86 kB / 0.7975 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.3419, allocations: 7.938 kB / 0.7975 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/0.3423, allocations: 75.98 kB / 0.7976 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3424, allocations: 19.97 kB / 0.7976 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.3425, allocations: 8 kB / 0.7976 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001462/0.3426, allocations: 156.5 kB / 0.7978 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.61e-07/0.3426, allocations: 0 / 0.7978 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002814/0.3429, allocations: 43.84 kB / 0.7978 GB, free: 1.027 MB / 0.6075 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.0001845/0.3431, allocations: 103.2 kB / 0.7979 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001371/0.3445, allocations: 427.6 kB / 0.7983 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3445, allocations: 0 / 0.7983 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006752/0.3452, allocations: 231.7 kB / 0.7986 GB, free: 280 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.3457, allocations: 32.42 kB / 0.7986 GB, free: 244 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009106/0.3466, allocations: 495.3 kB / 0.7991 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.3469, allocations: 0.7359 MB / 0.7998 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.347, allocations: 13.09 kB / 0.7998 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.738e-05/0.3471, allocations: 19.42 kB / 0.7998 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of SimCode: time 7.42e-07/0.3471, allocations: 0 / 0.7998 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of Templates: time 0.005368/0.3525, allocations: 2.213 MB / 0.802 GB, free: 12.75 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe 2>&1) Environment - environmentSimulation: