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.001245/0.001245, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.0012/0.0012, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.727/1.727, allocations: 205.1 MB / 223.1 MB, free: 12.31 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 2.013/2.013, allocations: 292.3 MB / 0.5495 GB, free: 17.43 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.001492/0.001492, allocations: 71.91 kB / 0.6722 GB, free: 6.48 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3105, allocations: 114.6 MB / 0.7841 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter): time 0.002745/0.3133, allocations: 1.138 MB / 0.7852 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3145, allocations: 0.9799 MB / 0.7862 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.011e-05/0.3146, allocations: 4 kB / 0.7862 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.636e-05/0.3147, allocations: 19.73 kB / 0.7862 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.3149, allocations: 43.53 kB / 0.7862 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.3151, allocations: 75.83 kB / 0.7863 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.3154, allocations: 247.3 kB / 0.7865 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.3156, allocations: 68.94 kB / 0.7866 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.3157, allocations: 103.5 kB / 0.7867 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.3159, allocations: 123.4 kB / 0.7868 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.3159, allocations: 24 kB / 0.7868 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.802e-05/0.316, allocations: 20 kB / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.316, allocations: 43.83 kB / 0.7869 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.3162, allocations: 103.4 kB / 0.787 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.3164, allocations: 247.2 kB / 0.7872 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.3164, allocations: 0 / 0.7872 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.444e-06/0.3164, allocations: 0 / 0.7872 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.3164, allocations: 4 kB / 0.7872 GB, free: 0.5625 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.5676/0.884, allocations: 0.5904 MB / 0.7878 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.8841, allocations: 10.41 kB / 0.7878 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.651e-05/0.8841, allocations: 29.64 kB / 0.7879 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.8844, allocations: 238.6 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.8844, allocations: 12.48 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.8844, allocations: 14.81 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006738/0.8851, allocations: 246.8 kB / 0.7883 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.8851, allocations: 3.906 kB / 0.7883 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.8852, allocations: 10.16 kB / 0.7884 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.8852, allocations: 3 kB / 0.7884 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009174/0.8861, allocations: 303.8 kB / 0.7887 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006365/0.8867, allocations: 0.5149 MB / 0.7892 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006492/0.8874, allocations: 255.5 kB / 0.7894 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004725/0.8879, allocations: 169.3 kB / 0.7896 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.8879, allocations: 2.938 kB / 0.7896 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.888, allocations: 34.59 kB / 0.7896 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.888, allocations: 0 / 0.7896 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17): time 0.001537/0.8895, allocations: 0.5123 MB / 0.7901 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.8895, allocations: 54.25 kB / 0.7901 GB, free: 48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.8897, allocations: 211.1 kB / 0.7903 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.8897, allocations: 28.36 kB / 0.7904 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.8898, allocations: 140.7 kB / 0.7905 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.8898, allocations: 57.75 kB / 0.7906 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.8899, allocations: 34.73 kB / 0.7906 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.599e-05/0.89, allocations: 333.4 kB / 0.7909 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/0.8904, allocations: 151 kB / 0.7911 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/0.891, allocations: 152 kB / 0.7912 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009511/0.892, allocations: 315.9 kB / 0.7915 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.892, allocations: 0 / 0.7915 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009783/0.893, allocations: 366.7 kB / 0.7919 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.893, allocations: 5.469 kB / 0.7919 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.893, allocations: 0 / 0.7919 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.893, allocations: 7.406 kB / 0.7919 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.8934, allocations: 81 kB / 0.7919 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.8934, allocations: 3.281 kB / 0.7919 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.8937, allocations: 58.06 kB / 0.792 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.8937, allocations: 2.656 kB / 0.792 GB, free: 47.34 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 9.986e-05/0.8938, allocations: 130.5 kB / 0.7921 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.8939, allocations: 22.31 kB / 0.7922 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.894, allocations: 31.16 kB / 0.7922 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.894, allocations: 2.531 kB / 0.7922 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.894, allocations: 6.25 kB / 0.7922 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.894, allocations: 2.438 kB / 0.7922 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.8943, allocations: 289 kB / 0.7925 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.8943, allocations: 0 / 0.7925 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003634/0.8947, allocations: 82.23 kB / 0.7925 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.8947, allocations: 3.375 kB / 0.7926 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.8947, allocations: 3.938 kB / 0.7926 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.8947, allocations: 0 / 0.7926 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8947, allocations: 0 / 0.7926 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.8963, allocations: 0.6511 MB / 0.7932 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.8964, allocations: 96.02 kB / 0.7933 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.8964, allocations: 13.75 kB / 0.7933 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.8967, allocations: 51.31 kB / 0.7933 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.509e-05/0.8968, allocations: 24.81 kB / 0.7934 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.8968, allocations: 3.469 kB / 0.7934 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001053/0.8969, allocations: 151.9 kB / 0.7935 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8969, allocations: 0 / 0.7935 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002622/0.8972, allocations: 50.25 kB / 0.7936 GB, free: 46.66 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.0001559/0.8974, allocations: 104.7 kB / 0.7937 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.8984, allocations: 327.3 kB / 0.794 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8984, allocations: 3.828 kB / 0.794 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004914/0.8989, allocations: 191 kB / 0.7942 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.8994, allocations: 28.08 kB / 0.7942 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006736/0.9, allocations: 402.6 kB / 0.7946 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.9002, allocations: 0.7367 MB / 0.7953 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.429e-05/0.9003, allocations: 15.17 kB / 0.7953 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.17e-05/0.9004, allocations: 17.59 kB / 0.7953 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.9004, allocations: 3.438 kB / 0.7953 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of Templates: time 0.006338/0.9067, allocations: 2.766 MB / 0.798 GB, free: 45.54 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe 2>&1)