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.469/1.469, allocations: 249.5 MB / 257 MB, free: 7.047 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.001083/0.001083, allocations: 183.6 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008924/0.0008922, allocations: 96.45 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.783e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2586, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6535/0.9122, allocations: 132.2 MB / 1.014 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.9124, allocations: 75.31 kB / 1.014 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008844/0.9213, allocations: 3.114 MB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9213, allocations: 0 / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.9213, allocations: 4 kB / 1.017 GB, free: 2.867 MB / 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.0009614/0.9223, allocations: 0.5862 MB / 1.018 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.9223, allocations: 8.031 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.9224, allocations: 31.56 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.9226, allocations: 239 kB / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.9226, allocations: 4 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.9227, allocations: 8 kB / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001997/0.9229, allocations: 99.3 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.9231, allocations: 117.1 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.9231, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.9231, allocations: 4 kB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.9231, allocations: 0 / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.9243, allocations: 0.612 MB / 1.019 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.9245, allocations: 148.1 kB / 1.019 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.9246, allocations: 60.11 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.9247, allocations: 4 kB / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.9247, allocations: 30.56 kB / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.9247, allocations: 0 / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.0003018/0.925, allocations: 157.9 kB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.9251, allocations: 62.12 kB / 1.02 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.9252, allocations: 179.9 kB / 1.02 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.9252, allocations: 25.7 kB / 1.02 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.9253, allocations: 138.4 kB / 1.02 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.9254, allocations: 54.89 kB / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.9254, allocations: 0 / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.9255, allocations: 330.4 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.512e-05/0.9256, allocations: 50.06 kB / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.881e-05/0.9257, allocations: 46.56 kB / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.65e-05/0.9258, allocations: 52.27 kB / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.9258, allocations: 0 / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002483/0.926, allocations: 159.6 kB / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.926, allocations: 7.953 kB / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.926, allocations: 0 / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.9261, allocations: 0 / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/0.9265, allocations: 107.3 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.9265, allocations: 4 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.9269, allocations: 79.77 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.9269, allocations: 4 kB / 1.021 GB, free: 15.75 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 7.73e-05/0.927, allocations: 105 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.927, allocations: 23.72 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.9271, allocations: 37.28 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.9271, allocations: 4 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.9271, allocations: 0 / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.9271, allocations: 0 / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.9274, allocations: 248.6 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9274, allocations: 0 / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/0.9278, allocations: 107.7 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.9278, allocations: 4 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.9279, allocations: 0 / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.9279, allocations: 4 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.9279, allocations: 3.953 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.9283, allocations: 349.3 kB / 1.022 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.9284, allocations: 96.8 kB / 1.022 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.9284, allocations: 7.984 kB / 1.022 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.9288, allocations: 75.98 kB / 1.022 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.044e-05/0.9289, allocations: 35.73 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.9289, allocations: 4 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.689e-05/0.929, allocations: 139.5 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/0.929, allocations: 0 / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002406/0.9292, allocations: 35.94 kB / 1.022 GB, free: 14.59 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.0001447/0.9294, allocations: 107.2 kB / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.9296, allocations: 126.3 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9296, allocations: 4 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.9297, allocations: 70.62 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.93, allocations: 36.22 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.9305, allocations: 266.8 kB / 1.023 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.9308, allocations: 0.7472 MB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.752e-05/0.9309, allocations: 17.2 kB / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.931, allocations: 15.44 kB / 1.023 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.931, allocations: 0 / 1.023 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of Templates: time 0.004142/0.9352, allocations: 1.953 MB / 1.025 GB, free: 11.35 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