Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001342/0.001342, allocations: 100.6 kB / 19.73 MB, free: 2.23 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.001565/0.001565, allocations: 220.5 kB / 23.04 MB, free: 5.074 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.296/3.296, allocations: 0.5002 GB / 0.8061 GB, free: 26.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="cs",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.001975/0.001975, allocations: 65.42 kB / 1.171 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3839, allocations: 179 MB / 1.345 GB, free: 400 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002317/0.3862, allocations: 1.103 MB / 1.346 GB, free: 15.29 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3875, allocations: 1.011 MB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.284e-05/0.3876, allocations: 0 / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.21e-05/0.3876, allocations: 15.75 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.3878, allocations: 47.58 kB / 1.348 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.388, allocations: 59.92 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.3882, allocations: 235.3 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.3884, allocations: 61.17 kB / 1.348 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.3885, allocations: 91.69 kB / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.3887, allocations: 115.5 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.3887, allocations: 20 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.135e-05/0.3887, allocations: 16 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.3888, allocations: 43.84 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.711e-05/0.3889, allocations: 95.45 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.3892, allocations: 215 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3892, allocations: 0 / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3892, allocations: 4 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.268e-06/0.3892, allocations: 0 / 1.348 GB, free: 13.26 MB / 1.045 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.001173/0.3903, allocations: 0.4933 MB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3904, allocations: 15.97 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.271e-05/0.3904, allocations: 192 / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.3904, allocations: 46.73 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.3905, allocations: 24.8 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.3907, allocations: 170.1 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.3907, allocations: 12.38 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.3908, allocations: 16.31 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008381/0.3916, allocations: 245.8 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3916, allocations: 4 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.3917, allocations: 4 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.3917, allocations: 4 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.3929, allocations: 291.7 kB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007864/0.3936, allocations: 463.3 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008353/0.3945, allocations: 236.2 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000668/0.3951, allocations: 181 kB / 1.351 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.3952, allocations: 4 kB / 1.351 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.3952, allocations: 34.47 kB / 1.351 GB, free: 10.91 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.3952, allocations: 4 kB / 1.351 GB, free: 10.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.002006/0.3972, allocations: 0.5009 MB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.3973, allocations: 55.41 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.3975, allocations: 175.5 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.3975, allocations: 29.7 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.3976, allocations: 128.4 kB / 1.351 GB, free: 9.988 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.83e-05/0.3977, allocations: 63.47 kB / 1.351 GB, free: 9.926 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.164e-05/0.3978, allocations: 33.7 kB / 1.352 GB, free: 9.887 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3979, allocations: 330.8 kB / 1.352 GB, free: 9.555 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006125/0.3986, allocations: 147.7 kB / 1.352 GB, free: 9.41 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006375/0.3992, allocations: 176.1 kB / 1.352 GB, free: 9.23 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.4004, allocations: 298 kB / 1.352 GB, free: 8.938 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4004, allocations: 0 / 1.352 GB, free: 8.938 MB / 1.045 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001315/0.4017, allocations: 370.6 kB / 1.353 GB, free: 8.57 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.4017, allocations: 15.94 kB / 1.353 GB, free: 8.555 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4017, allocations: 0 / 1.353 GB, free: 8.555 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.4017, allocations: 0 / 1.353 GB, free: 8.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.4022, allocations: 67.92 kB / 1.353 GB, free: 8.488 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.4022, allocations: 7.984 kB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.4025, allocations: 67.8 kB / 1.353 GB, free: 8.414 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.4025, allocations: 8 kB / 1.353 GB, free: 8.406 MB / 1.045 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.0001309/0.4026, allocations: 125.8 kB / 1.353 GB, free: 8.273 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.4027, allocations: 23.8 kB / 1.353 GB, free: 8.25 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.702e-05/0.4028, allocations: 21.81 kB / 1.353 GB, free: 8.227 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4028, allocations: 0 / 1.353 GB, free: 8.227 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4028, allocations: 0 / 1.353 GB, free: 8.227 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4028, allocations: 7.984 kB / 1.353 GB, free: 8.219 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.4031, allocations: 240.6 kB / 1.353 GB, free: 7.941 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4031, allocations: 0 / 1.353 GB, free: 7.941 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.4035, allocations: 75.84 kB / 1.353 GB, free: 7.867 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.4035, allocations: 7.938 kB / 1.353 GB, free: 7.859 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.4035, allocations: 7.938 kB / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4035, allocations: 0 / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4035, allocations: 0 / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.4056, allocations: 0.633 MB / 1.354 GB, free: 7.203 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.4056, allocations: 15.88 kB / 1.354 GB, free: 7.188 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.4056, allocations: 7.938 kB / 1.354 GB, free: 7.18 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.406, allocations: 55.98 kB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/0.4061, allocations: 23.95 kB / 1.354 GB, free: 7.102 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.4061, allocations: 8 kB / 1.354 GB, free: 7.094 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001179/0.4062, allocations: 127.1 kB / 1.354 GB, free: 6.969 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4062, allocations: 0 / 1.354 GB, free: 6.969 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002789/0.4065, allocations: 39.95 kB / 1.354 GB, free: 6.93 MB / 1.045 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.002417/0.4089, allocations: 1.171 MB / 1.355 GB, free: 5.73 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.4102, allocations: 327.6 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.4103, allocations: 0 / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006858/0.4109, allocations: 165.8 kB / 1.356 GB, free: 5.25 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.4114, allocations: 35.97 kB / 1.356 GB, free: 5.215 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005184/0.4166, allocations: 2.522 MB / 1.358 GB, free: 2.613 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.4169, allocations: 0.7279 MB / 1.359 GB, free: 1.859 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.417, allocations: 13.09 kB / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.4172, allocations: 63.41 kB / 1.359 GB, free: 1.785 MB / 1.045 GB Notification: Performance of SimCode: time 8.22e-07/0.4172, allocations: 0 / 1.359 GB, free: 1.785 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.4478, allocations: 4.932 MB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.19, allocations: 6.859 kB / 1.364 GB, free: 13.02 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --stepSize=0.192 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.166464947978966]