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.001193/0.001193, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.001554/0.001554, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.4 MB / 222.1 MB, free: 5.68 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.65/1.65, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005201/0.0005203, allocations: 21.41 kB / 0.6736 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.232, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter): time 0.001357/0.2334, allocations: 0.8152 MB / 0.7879 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.2349, allocations: 0.9685 MB / 0.7889 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.235, allocations: 0 / 0.7889 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.244e-05/0.2351, allocations: 11.81 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.2353, allocations: 51.78 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.2355, allocations: 47.94 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.2358, allocations: 139.7 kB / 0.7891 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.236, allocations: 56.38 kB / 0.7892 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.2361, allocations: 79.67 kB / 0.7892 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.2363, allocations: 99.52 kB / 0.7893 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.2364, allocations: 8 kB / 0.7893 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.929e-05/0.2364, allocations: 12 kB / 0.7894 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.01e-05/0.2364, allocations: 35.83 kB / 0.7894 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.671e-05/0.2365, allocations: 61.58 kB / 0.7894 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.2367, allocations: 167.8 kB / 0.7896 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2367, allocations: 0 / 0.7896 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2367, allocations: 3.938 kB / 0.7896 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.2367, allocations: 0 / 0.7896 GB, free: 9.406 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.001253/0.238, allocations: 0.6103 MB / 0.7902 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.238, allocations: 8.031 kB / 0.7902 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.301e-05/0.2381, allocations: 31.56 kB / 0.7902 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.2384, allocations: 237.6 kB / 0.7905 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2384, allocations: 8 kB / 0.7905 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.2384, allocations: 16 kB / 0.7905 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008108/0.2393, allocations: 289.4 kB / 0.7908 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2393, allocations: 0 / 0.7908 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.2393, allocations: 4 kB / 0.7908 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.2393, allocations: 4 kB / 0.7908 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.2405, allocations: 395.7 kB / 0.7912 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008313/0.2413, allocations: 0.5159 MB / 0.7917 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007939/0.2421, allocations: 310.3 kB / 0.792 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.2422, allocations: 7.938 kB / 0.792 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2422, allocations: 34.56 kB / 0.792 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.2422, allocations: 0 / 0.792 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.002016/0.2442, allocations: 0.6484 MB / 0.7926 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.2443, allocations: 51.41 kB / 0.7927 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.2445, allocations: 209 kB / 0.7929 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.2445, allocations: 33.7 kB / 0.7929 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.486e-05/0.2446, allocations: 144.3 kB / 0.793 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.737e-05/0.2447, allocations: 55.19 kB / 0.7931 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.2447, allocations: 4 kB / 0.7931 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2448, allocations: 338.8 kB / 0.7934 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005971/0.2454, allocations: 191.8 kB / 0.7936 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005935/0.246, allocations: 207.7 kB / 0.7938 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005858/0.2466, allocations: 195.8 kB / 0.794 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2466, allocations: 0 / 0.794 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001292/0.2479, allocations: 468 kB / 0.7944 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.248, allocations: 4 kB / 0.7944 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.248, allocations: 0 / 0.7944 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.248, allocations: 4 kB / 0.7944 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004356/0.2484, allocations: 103.8 kB / 0.7945 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2484, allocations: 4 kB / 0.7946 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.2488, allocations: 87.77 kB / 0.7946 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.2488, allocations: 4 kB / 0.7946 GB, free: 4.043 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.2489, allocations: 125.8 kB / 0.7948 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.249, allocations: 23.67 kB / 0.7948 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.261e-05/0.249, allocations: 30.17 kB / 0.7948 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.249, allocations: 3.984 kB / 0.7948 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.249, allocations: 3.938 kB / 0.7948 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2491, allocations: 0 / 0.7948 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.2493, allocations: 293.4 kB / 0.7951 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2494, allocations: 4 kB / 0.7951 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/0.2498, allocations: 103.8 kB / 0.7952 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2498, allocations: 0 / 0.7952 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.2498, allocations: 7.953 kB / 0.7952 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2498, allocations: 0 / 0.7952 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.2498, allocations: 4 kB / 0.7952 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.2518, allocations: 0.7916 MB / 0.796 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.2518, allocations: 92.86 kB / 0.7961 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.2519, allocations: 7.938 kB / 0.7961 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.2522, allocations: 83.94 kB / 0.7962 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.917e-05/0.2523, allocations: 23.95 kB / 0.7962 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.2523, allocations: 8 kB / 0.7962 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001028/0.2524, allocations: 144.5 kB / 0.7963 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2525, allocations: 0 / 0.7963 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002647/0.2527, allocations: 39.94 kB / 0.7964 GB, free: 2.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001354/0.2529, allocations: 111.2 kB / 0.7965 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.2541, allocations: 430.5 kB / 0.7969 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2542, allocations: 0 / 0.7969 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006366/0.2548, allocations: 227.8 kB / 0.7971 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.2551, allocations: 28.41 kB / 0.7971 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007037/0.2558, allocations: 466.8 kB / 0.7976 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.2561, allocations: 0.7399 MB / 0.7983 GB, free: 148 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.106e-05/0.2562, allocations: 17.08 kB / 0.7983 GB, free: 132 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.009e-05/0.2563, allocations: 15.44 kB / 0.7983 GB, free: 116 kB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2563, allocations: 0 / 0.7983 GB, free: 116 kB / 0.6075 GB Notification: Performance of Templates: time 0.004847/0.2611, allocations: 2.128 MB / 0.8004 GB, free: 14.02 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: