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.001356/0.001356, allocations: 98.08 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.001439/0.001439, allocations: 219.7 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 8 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.791/2.791, allocations: 476.7 MB / 0.7715 GB, free: 4.289 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_11_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.002044/0.002044, allocations: 62.91 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4002, allocations: 170 MB / 1.284 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.00277/0.4029, allocations: 1.103 MB / 1.285 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.4045, allocations: 1.001 MB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.4046, allocations: 0 / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.609e-05/0.4046, allocations: 19.75 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.4048, allocations: 43.58 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.4051, allocations: 67.86 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.4054, allocations: 231.4 kB / 1.287 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.4056, allocations: 53.02 kB / 1.287 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.4057, allocations: 103.7 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.4059, allocations: 107.5 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.406, allocations: 20 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.297e-05/0.406, allocations: 20 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.406, allocations: 43.89 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.4061, allocations: 91.45 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.4064, allocations: 227.4 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4064, allocations: 0 / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4064, allocations: 0 / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.4064, allocations: 4 kB / 1.287 GB, free: 8.531 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.001225/0.4077, allocations: 497.2 kB / 1.288 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.4077, allocations: 12.03 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.957e-05/0.4077, allocations: 8.188 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.507e-05/0.4078, allocations: 46.73 kB / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.4079, allocations: 20.8 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.4081, allocations: 170.1 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.4081, allocations: 8.375 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.4082, allocations: 12.38 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007892/0.409, allocations: 250.3 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.409, allocations: 0 / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.409, allocations: 4 kB / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.409, allocations: 8 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.4102, allocations: 295.7 kB / 1.289 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007574/0.4109, allocations: 459.4 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007913/0.4117, allocations: 238.4 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006579/0.4124, allocations: 184.6 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.4124, allocations: 0 / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.4124, allocations: 42.88 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 2.846e-06/0.4124, allocations: 3.984 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.001996/0.4144, allocations: 0.5027 MB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.4145, allocations: 51.41 kB / 1.29 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.4147, allocations: 177.4 kB / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.4147, allocations: 29.7 kB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.119e-05/0.4148, allocations: 132.4 kB / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/0.4149, allocations: 55.48 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.4149, allocations: 37.7 kB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4151, allocations: 326.8 kB / 1.291 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006034/0.4157, allocations: 147.8 kB / 1.291 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006369/0.4163, allocations: 184.9 kB / 1.291 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.4175, allocations: 296.6 kB / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4175, allocations: 0 / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001312/0.4188, allocations: 367.1 kB / 1.292 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.4188, allocations: 11.94 kB / 1.292 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4188, allocations: 0 / 1.292 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4189, allocations: 0 / 1.292 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/0.4193, allocations: 75.92 kB / 1.292 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.4193, allocations: 0 / 1.292 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.4196, allocations: 63.81 kB / 1.292 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.4196, allocations: 7.984 kB / 1.292 GB, free: 3.695 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.0001331/0.4198, allocations: 125.8 kB / 1.292 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.4198, allocations: 19.84 kB / 1.292 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.306e-05/0.4199, allocations: 21.81 kB / 1.292 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4199, allocations: 4 kB / 1.292 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4199, allocations: 0 / 1.292 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.4199, allocations: 7.984 kB / 1.292 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.4202, allocations: 240.5 kB / 1.292 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4202, allocations: 0 / 1.292 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/0.4207, allocations: 79.84 kB / 1.292 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.4207, allocations: 3.938 kB / 1.292 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.4207, allocations: 4 kB / 1.292 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4207, allocations: 7.984 kB / 1.292 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4207, allocations: 0 / 1.292 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.4228, allocations: 0.6297 MB / 1.293 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.4229, allocations: 19.88 kB / 1.293 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.4229, allocations: 7.938 kB / 1.293 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.4232, allocations: 55.98 kB / 1.293 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/0.4233, allocations: 19.97 kB / 1.293 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.4233, allocations: 15.92 kB / 1.293 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001152/0.4235, allocations: 127.4 kB / 1.293 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4235, allocations: 0 / 1.293 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002793/0.4237, allocations: 43.95 kB / 1.293 GB, free: 2.211 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.002348/0.4261, allocations: 1.169 MB / 1.294 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001295/0.4274, allocations: 321.7 kB / 1.295 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4274, allocations: 4 kB / 1.295 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007288/0.4281, allocations: 175.6 kB / 1.295 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.4286, allocations: 35.92 kB / 1.295 GB, free: 500 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005686/0.4343, allocations: 2.528 MB / 1.297 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.4347, allocations: 0.724 MB / 1.298 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001163/0.4348, allocations: 13.08 kB / 1.298 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.435, allocations: 63.41 kB / 1.298 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of SimCode: time 1.433e-06/0.435, allocations: 0 / 1.298 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.4646, allocations: 4.919 MB / 1.303 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.77, allocations: 8 kB / 1.303 GB, free: 8.32 MB / 0.9981 GB " [Timeout remaining time 287] (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.7920614729519]