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.001392/0.001392, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 194.2 kB / 16.64 MB, free: 6.453 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.596/1.596, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.919/1.919, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001456/0.001456, allocations: 67.33 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3034, allocations: 114.5 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter): time 0.00328/0.3068, allocations: 1.156 MB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00159/0.3084, allocations: 0.9683 MB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.3085, allocations: 4 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.751e-05/0.3087, allocations: 27.61 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.3089, allocations: 47.53 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.3092, allocations: 71.78 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.3095, allocations: 247.3 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.3097, allocations: 76.94 kB / 0.7867 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.3098, allocations: 103.6 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.31, allocations: 119.5 kB / 0.7869 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/0.31, allocations: 20 kB / 0.7869 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.913e-05/0.3101, allocations: 20 kB / 0.7869 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.043e-05/0.3102, allocations: 55.77 kB / 0.787 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.3103, allocations: 99.38 kB / 0.7871 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.3106, allocations: 243 kB / 0.7873 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.3106, allocations: 8 kB / 0.7873 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3106, allocations: 0 / 0.7873 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3106, allocations: 3.984 kB / 0.7873 GB, free: 9.445 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.001313/0.312, allocations: 0.592 MB / 0.7879 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.312, allocations: 12.03 kB / 0.7879 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.289e-05/0.3121, allocations: 24.56 kB / 0.7879 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.3124, allocations: 242.8 kB / 0.7882 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.3124, allocations: 12.38 kB / 0.7882 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/0.3124, allocations: 12.38 kB / 0.7882 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007512/0.3132, allocations: 246 kB / 0.7884 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3132, allocations: 192 / 0.7884 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.3132, allocations: 7.938 kB / 0.7884 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.3132, allocations: 4 kB / 0.7884 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.3144, allocations: 299.7 kB / 0.7887 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008113/0.3152, allocations: 0.5119 MB / 0.7892 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007763/0.316, allocations: 258.3 kB / 0.7895 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005575/0.3165, allocations: 164.7 kB / 0.7896 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.3166, allocations: 4 kB / 0.7896 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.3166, allocations: 38.56 kB / 0.7897 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.3167, allocations: 0 / 0.7897 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.001883/0.3185, allocations: 0.5155 MB / 0.7902 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.3186, allocations: 51.41 kB / 0.7902 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.3188, allocations: 209 kB / 0.7904 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.3189, allocations: 29.7 kB / 0.7904 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.319, allocations: 144.2 kB / 0.7906 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.305e-05/0.3191, allocations: 59.25 kB / 0.7906 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-05/0.3192, allocations: 29.7 kB / 0.7907 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3193, allocations: 338.8 kB / 0.791 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005617/0.3199, allocations: 151.7 kB / 0.7911 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000527/0.3204, allocations: 151.8 kB / 0.7913 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.3215, allocations: 307.5 kB / 0.7916 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3215, allocations: 0 / 0.7916 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001248/0.3228, allocations: 388.9 kB / 0.7919 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.3228, allocations: 4 kB / 0.7919 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3228, allocations: 0 / 0.7919 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.3229, allocations: 3.938 kB / 0.7919 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/0.3233, allocations: 75.91 kB / 0.792 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.3233, allocations: 0 / 0.792 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.3236, allocations: 63.86 kB / 0.7921 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.3236, allocations: 0 / 0.7921 GB, free: 4.336 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.0001259/0.3238, allocations: 129.8 kB / 0.7922 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.3238, allocations: 23.72 kB / 0.7922 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.396e-05/0.3239, allocations: 30.11 kB / 0.7923 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3239, allocations: 0 / 0.7923 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.3239, allocations: 8 kB / 0.7923 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3239, allocations: 0 / 0.7923 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.3243, allocations: 293.3 kB / 0.7925 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3243, allocations: 0 / 0.7925 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/0.3247, allocations: 75.91 kB / 0.7926 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3247, allocations: 0 / 0.7926 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.3247, allocations: 7.938 kB / 0.7926 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3247, allocations: 4 kB / 0.7926 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3248, allocations: 3.984 kB / 0.7926 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.3266, allocations: 0.642 MB / 0.7933 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.3267, allocations: 100.8 kB / 0.7933 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.3267, allocations: 7.938 kB / 0.7934 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.327, allocations: 55.98 kB / 0.7934 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.569e-05/0.3272, allocations: 23.97 kB / 0.7934 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.3272, allocations: 0 / 0.7934 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001187/0.3273, allocations: 152.5 kB / 0.7936 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3273, allocations: 0 / 0.7936 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002684/0.3276, allocations: 43.84 kB / 0.7936 GB, free: 2.664 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.0001778/0.3278, allocations: 111.7 kB / 0.7937 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.329, allocations: 327.7 kB / 0.794 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.329, allocations: 4 kB / 0.794 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005982/0.3296, allocations: 175.8 kB / 0.7942 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.3301, allocations: 44.33 kB / 0.7943 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008739/0.331, allocations: 416 kB / 0.7946 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.3313, allocations: 0.7435 MB / 0.7954 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.3314, allocations: 13.08 kB / 0.7954 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.563e-05/0.3315, allocations: 15.44 kB / 0.7954 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.3315, allocations: 4 kB / 0.7954 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of Templates: time 0.006319/0.3378, allocations: 2.76 MB / 0.7981 GB, free: 14.05 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe 2>&1)