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.001543/0.001543, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001636/0.001636, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 8.012 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.855/2.855, allocations: 476.8 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) [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.002031/0.002031, allocations: 65.34 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3877, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002718/0.3904, allocations: 1.093 MB / 1.285 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.3921, allocations: 1.004 MB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.24e-05/0.3922, allocations: 4 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.653e-05/0.3922, allocations: 15.75 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.3924, allocations: 43.64 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.3927, allocations: 63.86 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003503/0.3931, allocations: 227.4 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.3933, allocations: 65 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.3934, allocations: 99.62 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.3936, allocations: 103.6 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.9e-05/0.3937, allocations: 20 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.366e-05/0.3937, allocations: 20 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.02e-05/0.3938, allocations: 43.84 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.3939, allocations: 95.45 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.3942, allocations: 219.4 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.3943, allocations: 3.938 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3943, allocations: 0 / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.3943, allocations: 4 kB / 1.286 GB, free: 8.617 MB / 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.001328/0.3956, allocations: 0.4894 MB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/0.3957, allocations: 12.03 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.422e-05/0.3957, allocations: 46.73 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.513e-05/0.3958, allocations: 24.8 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.3961, allocations: 166.1 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3961, allocations: 8.375 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.3962, allocations: 20.38 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007585/0.3969, allocations: 242.5 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3969, allocations: 3.938 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.3969, allocations: 15.92 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.397, allocations: 0 / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.398, allocations: 303.7 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007548/0.3988, allocations: 447.5 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007335/0.3995, allocations: 242.4 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005927/0.4001, allocations: 186.2 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/0.4001, allocations: 4 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.4002, allocations: 38.81 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.4002, allocations: 0 / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.001859/0.402, allocations: 0.497 MB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.4021, allocations: 59.41 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.4023, allocations: 180.8 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.4023, allocations: 25.7 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/0.4024, allocations: 128.4 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.877e-05/0.4025, allocations: 59.48 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.634e-05/0.4026, allocations: 33.7 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.4028, allocations: 322.8 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005601/0.4033, allocations: 155.8 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005628/0.4039, allocations: 176.9 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.405, allocations: 304.6 kB / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.405, allocations: 0 / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001175/0.4061, allocations: 359 kB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4062, allocations: 4 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.4062, allocations: 3.938 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.4062, allocations: 7.938 kB / 1.291 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/0.4066, allocations: 79.86 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.4066, allocations: 3.984 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.4069, allocations: 63.81 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.4069, allocations: 8 kB / 1.291 GB, free: 3.777 MB / 0.9825 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.0001251/0.407, allocations: 121.8 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.4071, allocations: 15.91 kB / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.81e-05/0.4071, allocations: 25.75 kB / 1.291 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.4071, allocations: 4 kB / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.4072, allocations: 3.984 kB / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4072, allocations: 0 / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.4075, allocations: 244.5 kB / 1.291 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4075, allocations: 0 / 1.291 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000396/0.4079, allocations: 83.84 kB / 1.291 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4079, allocations: 0 / 1.291 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.4079, allocations: 3.938 kB / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.4079, allocations: 7.938 kB / 1.291 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4079, allocations: 0 / 1.291 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.4098, allocations: 0.6378 MB / 1.292 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/0.4098, allocations: 15.88 kB / 1.292 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.4099, allocations: 7.938 kB / 1.292 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.4102, allocations: 51.92 kB / 1.292 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.671e-05/0.4103, allocations: 27.95 kB / 1.292 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.4103, allocations: 8.062 kB / 1.292 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001143/0.4104, allocations: 132.3 kB / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4104, allocations: 0 / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002787/0.4107, allocations: 39.95 kB / 1.292 GB, free: 2.297 MB / 0.9825 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.00221/0.4129, allocations: 1.169 MB / 1.294 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.4141, allocations: 317.5 kB / 1.294 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4141, allocations: 0 / 1.294 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006183/0.4147, allocations: 171.7 kB / 1.294 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.4152, allocations: 37.86 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004939/0.4201, allocations: 2.523 MB / 1.296 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.4205, allocations: 0.7318 MB / 1.297 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.792e-05/0.4206, allocations: 9.094 kB / 1.297 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.4207, allocations: 67.39 kB / 1.297 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/0.4207, allocations: 3.938 kB / 1.297 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03742/0.4582, allocations: 4.891 MB / 1.302 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.81, allocations: 4.703 kB / 1.302 GB, free: 8.422 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --stepSize=0.192 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.644510312005877]