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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 108 kB / 15.61 MB, free: 152 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.001303/0.001303, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.446/1.446, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.766/1.766, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001659/0.001659, allocations: 77.36 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2612, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter): time 0.003001/0.2642, allocations: 1.161 MB / 0.7846 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.266, allocations: 0.9683 MB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.2662, allocations: 4 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.161e-05/0.2663, allocations: 19.69 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.2666, allocations: 47.52 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.2668, allocations: 67.84 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.2672, allocations: 247.2 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.2674, allocations: 73.2 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.2676, allocations: 99.69 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.2678, allocations: 119.4 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.12e-05/0.2679, allocations: 24 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.315e-05/0.2679, allocations: 20 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.268, allocations: 51.77 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.2681, allocations: 103.3 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.2684, allocations: 235.2 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2685, allocations: 7.875 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2685, allocations: 0 / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.2685, allocations: 0 / 0.7866 GB, free: 10.1 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.001362/0.2699, allocations: 0.6037 MB / 0.7872 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.2699, allocations: 8.031 kB / 0.7872 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.712e-05/0.27, allocations: 42.75 kB / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.075e-05/0.2701, allocations: 32.55 kB / 0.7873 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.2703, allocations: 242.8 kB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.2704, allocations: 8.375 kB / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.2704, allocations: 16.38 kB / 0.7876 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007518/0.2712, allocations: 242 kB / 0.7878 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2712, allocations: 3.938 kB / 0.7878 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.2712, allocations: 8 kB / 0.7878 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.2712, allocations: 4 kB / 0.7878 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.2724, allocations: 299.7 kB / 0.7881 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008726/0.2732, allocations: 0.5274 MB / 0.7886 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008036/0.274, allocations: 250.4 kB / 0.7889 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005927/0.2747, allocations: 168.7 kB / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.2747, allocations: 4 kB / 0.789 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.2747, allocations: 30.88 kB / 0.789 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.2747, allocations: 0 / 0.789 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.001874/0.2766, allocations: 0.5191 MB / 0.7896 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.2767, allocations: 59.41 kB / 0.7896 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.2769, allocations: 209 kB / 0.7898 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.2769, allocations: 29.7 kB / 0.7898 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.277, allocations: 136.3 kB / 0.79 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.864e-05/0.2771, allocations: 51.27 kB / 0.79 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.497e-05/0.2772, allocations: 37.62 kB / 0.7901 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2773, allocations: 330.8 kB / 0.7904 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006005/0.2779, allocations: 151.8 kB / 0.7905 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.2785, allocations: 155.8 kB / 0.7907 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.2796, allocations: 300.5 kB / 0.7909 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2796, allocations: 4 kB / 0.791 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001227/0.2808, allocations: 375.9 kB / 0.7913 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.2809, allocations: 4 kB / 0.7913 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.2809, allocations: 3.938 kB / 0.7913 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.2809, allocations: 7.938 kB / 0.7913 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/0.2813, allocations: 75.91 kB / 0.7914 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.118e-06/0.2814, allocations: 0 / 0.7914 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.2817, allocations: 59.86 kB / 0.7915 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.2817, allocations: 4 kB / 0.7915 GB, free: 4.93 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.0001297/0.2819, allocations: 133.8 kB / 0.7916 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.2819, allocations: 23.66 kB / 0.7916 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.255e-05/0.282, allocations: 34.11 kB / 0.7916 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.282, allocations: 4 kB / 0.7916 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.282, allocations: 0 / 0.7916 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.282, allocations: 0 / 0.7916 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.2823, allocations: 293.3 kB / 0.7919 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2824, allocations: 0 / 0.7919 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.2828, allocations: 83.84 kB / 0.792 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2828, allocations: 4 kB / 0.792 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.2828, allocations: 7.938 kB / 0.792 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2828, allocations: 0 / 0.792 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2828, allocations: 0 / 0.792 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.2847, allocations: 0.6433 MB / 0.7926 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.2848, allocations: 96.86 kB / 0.7927 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.2848, allocations: 3.938 kB / 0.7927 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/0.2852, allocations: 51.92 kB / 0.7928 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/0.2853, allocations: 23.97 kB / 0.7928 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.2853, allocations: 4 kB / 0.7928 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001243/0.2854, allocations: 156.5 kB / 0.793 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2854, allocations: 0 / 0.793 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003049/0.2857, allocations: 47.84 kB / 0.793 GB, free: 3.246 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.002207/0.288, allocations: 1.195 MB / 0.7942 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.2892, allocations: 339.7 kB / 0.7945 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2892, allocations: 0 / 0.7945 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006451/0.2899, allocations: 171.8 kB / 0.7947 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.2904, allocations: 43.05 kB / 0.7947 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005093/0.2955, allocations: 2.697 MB / 0.7973 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.2958, allocations: 0.7357 MB / 0.7981 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.2959, allocations: 17.03 kB / 0.7981 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.2961, allocations: 67.41 kB / 0.7981 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of SimCode: time 7.91e-07/0.2961, allocations: 0 / 0.7981 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.3223, allocations: 4.997 MB / 0.803 GB, free: 9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.84/8.162, allocations: 24.31 kB / 0.803 GB, free: 8.98 MB / 0.6231 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter_res.csv --start-time 0 --stop-time 480 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe 2>&1)