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.435/1.435, allocations: 249.3 MB / 261.8 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 182.1 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0008651/0.0008653, allocations: 96.56 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.883e-05/2.885e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2115, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6863/0.8978, allocations: 131.9 MB / 1.021 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.8981, allocations: 75.69 kB / 1.021 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00939/0.9075, allocations: 3.136 MB / 1.024 GB, free: 28 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9076, allocations: 4 kB / 1.024 GB, free: 24 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.9076, allocations: 4 kB / 1.024 GB, free: 20 kB / 0.6355 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.001082/0.9087, allocations: 0.5847 MB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.9087, allocations: 8.031 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.487e-05/0.9088, allocations: 27.62 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.9091, allocations: 232.2 kB / 1.025 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.9091, allocations: 15.38 kB / 1.025 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.9091, allocations: 15.3 kB / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.9095, allocations: 135.9 kB / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.9095, allocations: 4 kB / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.9095, allocations: 3.125 kB / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.9095, allocations: 4 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.9097, allocations: 105.9 kB / 1.025 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.911, allocations: 0.6543 MB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.9113, allocations: 146.5 kB / 1.026 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.9114, allocations: 64.98 kB / 1.026 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.9115, allocations: 7.969 kB / 1.026 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.9115, allocations: 38.38 kB / 1.026 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.9115, allocations: 0 / 1.026 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17): time 0.0003592/0.9119, allocations: 166.8 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.9119, allocations: 54.14 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.9121, allocations: 187.6 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.9121, allocations: 33.52 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.9122, allocations: 140.1 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.9123, allocations: 53.77 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.102e-05/0.9123, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.9124, allocations: 333.4 kB / 1.027 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.9125, allocations: 53.25 kB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.801e-05/0.9127, allocations: 50.59 kB / 1.027 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.9128, allocations: 54.48 kB / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9128, allocations: 4 kB / 1.027 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002943/0.9131, allocations: 175 kB / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.9131, allocations: 4.938 kB / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.9131, allocations: 0 / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.9131, allocations: 0 / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004822/0.9136, allocations: 99.91 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.9136, allocations: 4 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.914, allocations: 86.08 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.914, allocations: 4 kB / 1.027 GB, free: 12.81 MB / 0.6511 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 () * 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 9.034e-05/0.9141, allocations: 115.9 kB / 1.027 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.9142, allocations: 31.55 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.897e-05/0.9142, allocations: 28.08 kB / 1.027 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.9142, allocations: 4 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9143, allocations: 0 / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.9143, allocations: 0 / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.9146, allocations: 288.2 kB / 1.028 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.9146, allocations: 0 / 1.028 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/0.915, allocations: 99.91 kB / 1.028 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.915, allocations: 3.953 kB / 1.028 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.9151, allocations: 11.31 kB / 1.028 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.9151, allocations: 3.938 kB / 1.028 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.9151, allocations: 0 / 1.028 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004949/0.9156, allocations: 358.2 kB / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.9156, allocations: 104.8 kB / 1.028 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.9157, allocations: 11.94 kB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.9161, allocations: 75.36 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.533e-05/0.9161, allocations: 26.78 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.9162, allocations: 4 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001136/0.9163, allocations: 154.4 kB / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9163, allocations: 0 / 1.028 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002397/0.9165, allocations: 39.75 kB / 1.028 GB, free: 11.57 MB / 0.6511 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 () * 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.0001933/0.9167, allocations: 106.4 kB / 1.029 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002921/0.917, allocations: 134.8 kB / 1.029 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.9171, allocations: 0 / 1.029 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.9172, allocations: 83.41 kB / 1.029 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.9175, allocations: 27.66 kB / 1.029 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005949/0.9181, allocations: 291.8 kB / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.9185, allocations: 0.7436 MB / 1.03 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.9186, allocations: 13.2 kB / 1.03 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.396e-05/0.9186, allocations: 15.44 kB / 1.03 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of SimCode: time 5.11e-07/0.9187, allocations: 3.938 kB / 1.03 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of Templates: time 0.005255/0.9239, allocations: 2.141 MB / 1.032 GB, free: 8.125 MB / 0.6511 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