Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002114/0.002114, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003329/0.003329, allocations: 219.8 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.81/2.81, allocations: 476.7 MB / 0.7706 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002885/0.002885, allocations: 61.17 kB / 1.118 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3921, allocations: 169.9 MB / 1.284 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002451/0.3946, allocations: 1.115 MB / 1.285 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.3959, allocations: 0.9886 MB / 1.286 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.396, allocations: 4 kB / 1.286 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.559e-05/0.3961, allocations: 19.73 kB / 1.286 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.3963, allocations: 39.66 kB / 1.286 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.3965, allocations: 71.8 kB / 1.286 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.3968, allocations: 231.4 kB / 1.286 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.3969, allocations: 53.16 kB / 1.286 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.3971, allocations: 99.62 kB / 1.286 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.3973, allocations: 111.5 kB / 1.287 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.3973, allocations: 20 kB / 1.287 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.475e-05/0.3973, allocations: 20 kB / 1.287 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.3974, allocations: 43.83 kB / 1.287 GB, free: 496 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.3975, allocations: 95.45 kB / 1.287 GB, free: 400 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.3978, allocations: 219 kB / 1.287 GB, free: 180 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3978, allocations: 0 / 1.287 GB, free: 180 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3978, allocations: 0 / 1.287 GB, free: 180 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.3978, allocations: 0 / 1.287 GB, free: 180 kB / 0.9825 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.001255/0.399, allocations: 0.4953 MB / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3991, allocations: 8.031 kB / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.3991, allocations: 24.8 kB / 1.287 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.3994, allocations: 170 kB / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3994, allocations: 8.375 kB / 1.288 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.3995, allocations: 24.38 kB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007707/0.4002, allocations: 238.5 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4002, allocations: 192 / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.4003, allocations: 15.88 kB / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4003, allocations: 0 / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.4014, allocations: 303.6 kB / 1.288 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000713/0.4021, allocations: 447.5 kB / 1.289 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007622/0.4029, allocations: 242.4 kB / 1.289 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/0.4035, allocations: 180.7 kB / 1.289 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.4035, allocations: 7.984 kB / 1.289 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.4036, allocations: 38.48 kB / 1.289 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.223e-06/0.4036, allocations: 0 / 1.289 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.001879/0.4055, allocations: 0.5073 MB / 1.29 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.4055, allocations: 55.41 kB / 1.29 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.4057, allocations: 180.8 kB / 1.29 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.4057, allocations: 25.7 kB / 1.29 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.723e-05/0.4058, allocations: 124.4 kB / 1.29 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.4059, allocations: 59.48 kB / 1.29 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.215e-05/0.4059, allocations: 33.7 kB / 1.29 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4061, allocations: 330.8 kB / 1.29 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005746/0.4067, allocations: 147.8 kB / 1.29 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/0.4073, allocations: 174.3 kB / 1.291 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.4084, allocations: 311.3 kB / 1.291 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4084, allocations: 0 / 1.291 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001225/0.4096, allocations: 357.2 kB / 1.291 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.4096, allocations: 4 kB / 1.291 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4096, allocations: 4 kB / 1.291 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.4096, allocations: 7.938 kB / 1.291 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.4101, allocations: 79.83 kB / 1.291 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.4101, allocations: 0 / 1.291 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.4104, allocations: 67.81 kB / 1.291 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.4104, allocations: 4 kB / 1.291 GB, free: 11.39 MB / 0.9981 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 0.0001468/0.4105, allocations: 121.8 kB / 1.292 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.4106, allocations: 15.91 kB / 1.292 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.656e-05/0.4107, allocations: 29.73 kB / 1.292 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4107, allocations: 4 kB / 1.292 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.4107, allocations: 0 / 1.292 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4107, allocations: 0 / 1.292 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/0.411, allocations: 244.5 kB / 1.292 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.411, allocations: 3.938 kB / 1.292 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.4115, allocations: 79.84 kB / 1.292 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4115, allocations: 0 / 1.292 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.4115, allocations: 3.938 kB / 1.292 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4115, allocations: 4 kB / 1.292 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4115, allocations: 0 / 1.292 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.4134, allocations: 0.6338 MB / 1.293 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.4134, allocations: 15.88 kB / 1.293 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.4135, allocations: 11.94 kB / 1.293 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000311/0.4138, allocations: 51.92 kB / 1.293 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.565e-05/0.4139, allocations: 35.95 kB / 1.293 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.4139, allocations: 4 kB / 1.293 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001235/0.414, allocations: 132.3 kB / 1.293 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.414, allocations: 3.938 kB / 1.293 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002735/0.4143, allocations: 39.98 kB / 1.293 GB, free: 9.902 MB / 0.9981 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.0001686/0.4145, allocations: 91.25 kB / 1.293 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.4157, allocations: 329.3 kB / 1.293 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4157, allocations: 0 / 1.293 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005918/0.4163, allocations: 171.7 kB / 1.293 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.4167, allocations: 27.97 kB / 1.293 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008022/0.4175, allocations: 374.8 kB / 1.294 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.4179, allocations: 0.724 MB / 1.294 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.268e-05/0.418, allocations: 13.08 kB / 1.294 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.675e-05/0.4181, allocations: 23.44 kB / 1.294 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.4181, allocations: 0 / 1.294 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of Templates: time 0.006598/0.4247, allocations: 2.816 MB / 1.297 GB, free: 5.324 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.457293248735368]