Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001304/0.001304, allocations: 183 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009871/0.000987, allocations: 90.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003347, allocations: 11.25 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1867, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.3423, allocations: 131.9 MB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.3425, allocations: 75.95 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009161/0.3517, allocations: 3.126 MB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3517, allocations: 0 / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.3518, allocations: 4 kB / 1.032 GB, free: 8.578 MB / 0.6823 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.00111/0.3529, allocations: 0.6192 MB / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3529, allocations: 12.03 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/0.353, allocations: 31.64 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.3533, allocations: 237.6 kB / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.3533, allocations: 8 kB / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.3533, allocations: 19.91 kB / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007825/0.3541, allocations: 285.5 kB / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3541, allocations: 0 / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.3542, allocations: 7.938 kB / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3542, allocations: 4 kB / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.3554, allocations: 387.7 kB / 1.034 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.3568, allocations: 0.6602 MB / 1.034 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007649/0.3575, allocations: 302.4 kB / 1.035 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.3576, allocations: 4 kB / 1.035 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.3576, allocations: 38.5 kB / 1.035 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.3576, allocations: 4 kB / 1.035 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17): time 0.001882/0.3595, allocations: 0.652 MB / 1.035 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.3596, allocations: 51.41 kB / 1.035 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.3597, allocations: 180.2 kB / 1.035 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.3598, allocations: 29.7 kB / 1.036 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.776e-05/0.3599, allocations: 144.3 kB / 1.036 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.3599, allocations: 51.2 kB / 1.036 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.3599, allocations: 4 kB / 1.036 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3601, allocations: 334.8 kB / 1.036 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005664/0.3607, allocations: 199.8 kB / 1.036 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005514/0.3612, allocations: 199.8 kB / 1.036 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000552/0.3618, allocations: 202.1 kB / 1.037 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3618, allocations: 3.938 kB / 1.037 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001223/0.363, allocations: 473 kB / 1.037 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.3631, allocations: 7.984 kB / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3631, allocations: 0 / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.3631, allocations: 0 / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/0.3636, allocations: 95.92 kB / 1.037 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3636, allocations: 4 kB / 1.037 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.364, allocations: 87.75 kB / 1.037 GB, free: 3.098 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.364, allocations: 7.938 kB / 1.037 GB, free: 3.09 MB / 0.6823 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.0001549/0.3642, allocations: 129.8 kB / 1.037 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.3642, allocations: 27.66 kB / 1.037 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.729e-05/0.3643, allocations: 38.11 kB / 1.037 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3643, allocations: 0 / 1.037 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.3643, allocations: 4 kB / 1.037 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.3643, allocations: 0 / 1.037 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.3647, allocations: 289.5 kB / 1.038 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3647, allocations: 0 / 1.038 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.3652, allocations: 99.84 kB / 1.038 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.3652, allocations: 4 kB / 1.038 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.3652, allocations: 7.953 kB / 1.038 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3652, allocations: 4 kB / 1.038 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3652, allocations: 0 / 1.038 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.3672, allocations: 0.7857 MB / 1.039 GB, free: 1.641 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-05/0.3673, allocations: 96.8 kB / 1.039 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.3673, allocations: 8 kB / 1.039 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.3677, allocations: 83.94 kB / 1.039 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.051e-05/0.3678, allocations: 19.97 kB / 1.039 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.3678, allocations: 4 kB / 1.039 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001276/0.3679, allocations: 152.5 kB / 1.039 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.3679, allocations: 0 / 1.039 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002611/0.3682, allocations: 40 kB / 1.039 GB, free: 1.227 MB / 0.6823 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.0001846/0.3684, allocations: 107.2 kB / 1.039 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.3696, allocations: 435.5 kB / 1.039 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3697, allocations: 0 / 1.039 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006109/0.3703, allocations: 228.7 kB / 1.04 GB, free: 472 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.3706, allocations: 32.3 kB / 1.04 GB, free: 436 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008332/0.3714, allocations: 470.6 kB / 1.04 GB, free: 15.94 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.3718, allocations: 0.7436 MB / 1.041 GB, free: 15.17 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.3719, allocations: 17.08 kB / 1.041 GB, free: 15.15 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.359e-05/0.372, allocations: 15.44 kB / 1.041 GB, free: 15.14 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/0.372, allocations: 0 / 1.041 GB, free: 15.14 MB / 0.698 GB Notification: Performance of Templates: time 0.004993/0.377, allocations: 2.141 MB / 1.043 GB, free: 13.03 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_SlewRateLimiter.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches