Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.591/1.591, allocations: 297.8 MB / 313.7 MB, free: 72 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008849/0.000885, allocations: 168.6 kB / 384.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 223.2 MB / 0.6626 GB, free: 4.277 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006608/0.0006609, allocations: 94.41 kB / 0.7808 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003952, allocations: 16 kB / 0.9088 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5545/0.5549, allocations: 120.3 MB / 1.026 GB, free: 55.96 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.7098, allocations: 141.2 MB / 1.164 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/0.71, allocations: 70.36 kB / 1.164 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008193/0.7182, allocations: 3.026 MB / 1.167 GB, free: 16 kB / 0.7292 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7182, allocations: 0 / 1.167 GB, free: 16 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.7182, allocations: 4 kB / 1.167 GB, free: 12 kB / 0.7292 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.00107/0.7193, allocations: 0.618 MB / 1.168 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.7194, allocations: 8.031 kB / 1.168 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.7194, allocations: 33.41 kB / 1.168 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.7197, allocations: 244.5 kB / 1.168 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.7197, allocations: 12.38 kB / 1.168 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.7197, allocations: 12.38 kB / 1.168 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007658/0.7205, allocations: 290.6 kB / 1.168 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.7205, allocations: 1.062 kB / 1.168 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.7206, allocations: 7.938 kB / 1.168 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.7206, allocations: 5.031 kB / 1.168 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.7217, allocations: 391 kB / 1.169 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.723, allocations: 0.6512 MB / 1.169 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007567/0.7238, allocations: 312.3 kB / 1.17 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005787/0.7243, allocations: 211.4 kB / 1.17 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.7244, allocations: 9.484 kB / 1.17 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.7244, allocations: 38.47 kB / 1.17 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.7244, allocations: 0 / 1.17 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.001774/0.7262, allocations: 0.6529 MB / 1.171 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.7262, allocations: 53.28 kB / 1.171 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.7264, allocations: 206.4 kB / 1.171 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.7265, allocations: 29.7 kB / 1.171 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/0.7265, allocations: 143.1 kB / 1.171 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.7266, allocations: 60.19 kB / 1.171 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.7266, allocations: 8 kB / 1.171 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.7267, allocations: 330.2 kB / 1.171 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005483/0.7273, allocations: 198.1 kB / 1.172 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.7278, allocations: 204.4 kB / 1.172 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.7289, allocations: 398.9 kB / 1.172 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7289, allocations: 4 kB / 1.172 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00116/0.7301, allocations: 473.5 kB / 1.173 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.7301, allocations: 4.609 kB / 1.173 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.7301, allocations: 1.031 kB / 1.173 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.7301, allocations: 4.938 kB / 1.173 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004304/0.7305, allocations: 101.5 kB / 1.173 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.7306, allocations: 0 / 1.173 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.7309, allocations: 80.34 kB / 1.173 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.7309, allocations: 4 kB / 1.173 GB, free: 10.97 MB / 0.7448 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.0001037/0.731, allocations: 139.1 kB / 1.173 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.7311, allocations: 19.72 kB / 1.173 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/0.7311, allocations: 33.03 kB / 1.173 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7311, allocations: 4 kB / 1.173 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7311, allocations: 0 / 1.173 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.7312, allocations: 3.359 kB / 1.173 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.7315, allocations: 285.3 kB / 1.173 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.7315, allocations: 0 / 1.173 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/0.7319, allocations: 106.8 kB / 1.173 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.7319, allocations: 0 / 1.173 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.7319, allocations: 12.5 kB / 1.173 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.7319, allocations: 4.641 kB / 1.173 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.732, allocations: 0 / 1.173 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.7337, allocations: 0.7875 MB / 1.174 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.7338, allocations: 94.11 kB / 1.174 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.7338, allocations: 12 kB / 1.174 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.7342, allocations: 77.73 kB / 1.174 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/0.7343, allocations: 26.45 kB / 1.174 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.7343, allocations: 4 kB / 1.174 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001186/0.7344, allocations: 151 kB / 1.175 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2e-07/0.7344, allocations: 0 / 1.175 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002539/0.7347, allocations: 43.91 kB / 1.175 GB, free: 9.359 MB / 0.7448 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.0001451/0.7349, allocations: 117.2 kB / 1.175 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.736, allocations: 423.7 kB / 1.175 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.7361, allocations: 0 / 1.175 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005858/0.7366, allocations: 227.7 kB / 1.175 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.737, allocations: 35.81 kB / 1.175 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007375/0.7378, allocations: 471.3 kB / 1.176 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.738, allocations: 0.7345 MB / 1.176 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000115/0.7382, allocations: 17.69 kB / 1.177 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.636e-05/0.7382, allocations: 15.44 kB / 1.177 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/0.7382, allocations: 0 / 1.177 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of Templates: time 0.004608/0.7428, allocations: 2.154 MB / 1.179 GB, free: 5.617 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe 2>&1)