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.001301/0.001301, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.00136/0.00136, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.575/1.575, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.944/2.944, allocations: 476.7 MB / 0.7678 GB, free: 9.34 MB / 0.6075 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: "" <> 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.002067/0.002067, allocations: 71.91 kB / 1.113 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169/1.171, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002815/1.174, allocations: 1.104 MB / 1.28 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001674/1.175, allocations: 0.9984 MB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.998e-05/1.175, allocations: 2.844 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.916e-05/1.176, allocations: 18.42 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001804/1.176, allocations: 49.59 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/1.176, allocations: 64.91 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003459/1.176, allocations: 223.6 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/1.177, allocations: 56.58 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/1.177, allocations: 98.61 kB / 1.282 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/1.177, allocations: 110.5 kB / 1.282 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.397e-05/1.177, allocations: 18.31 kB / 1.282 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.356e-05/1.177, allocations: 19.19 kB / 1.282 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/1.177, allocations: 43.28 kB / 1.282 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/1.177, allocations: 96.53 kB / 1.282 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003818/1.178, allocations: 214.5 kB / 1.282 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.178, allocations: 1.109 kB / 1.282 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.024e-06/1.178, allocations: 0.5 kB / 1.282 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.454e-06/1.178, allocations: 0 / 1.282 GB, free: 9.738 MB / 0.9981 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.001465/1.179, allocations: 0.5708 MB / 1.283 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/1.179, allocations: 9.688 kB / 1.283 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.255e-05/1.179, allocations: 8.219 kB / 1.283 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.689e-05/1.179, allocations: 47.14 kB / 1.283 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/1.179, allocations: 26.2 kB / 1.283 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/1.18, allocations: 223.6 kB / 1.283 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/1.18, allocations: 15.03 kB / 1.283 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/1.18, allocations: 14.38 kB / 1.283 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008759/1.18, allocations: 248.8 kB / 1.283 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.181, allocations: 4 kB / 1.283 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/1.181, allocations: 6.156 kB / 1.283 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/1.181, allocations: 3.469 kB / 1.283 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/1.182, allocations: 286.8 kB / 1.283 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008743/1.183, allocations: 498.7 kB / 1.284 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008547/1.184, allocations: 237.5 kB / 1.284 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007118/1.184, allocations: 179.9 kB / 1.284 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.044e-05/1.184, allocations: 7.25 kB / 1.284 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/1.184, allocations: 32.88 kB / 1.284 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.783e-06/1.184, allocations: 0 / 1.284 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.002108/1.186, allocations: 0.4991 MB / 1.285 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/1.187, allocations: 53.59 kB / 1.285 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/1.187, allocations: 176.6 kB / 1.285 GB, free: 8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/1.187, allocations: 26.86 kB / 1.285 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/1.187, allocations: 135.2 kB / 1.285 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.899e-05/1.187, allocations: 58.84 kB / 1.285 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.985e-05/1.187, allocations: 35 kB / 1.285 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.187, allocations: 328.3 kB / 1.286 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006367/1.188, allocations: 151.4 kB / 1.286 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000696/1.189, allocations: 175.6 kB / 1.286 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/1.19, allocations: 298 kB / 1.286 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.19, allocations: 0 / 1.286 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001364/1.191, allocations: 361.7 kB / 1.287 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/1.191, allocations: 9.531 kB / 1.287 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.191, allocations: 4 kB / 1.287 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/1.191, allocations: 2.109 kB / 1.287 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/1.192, allocations: 77.53 kB / 1.287 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/1.192, allocations: 4 kB / 1.287 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/1.192, allocations: 61 kB / 1.287 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/1.192, allocations: 4.516 kB / 1.287 GB, free: 7.195 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.0001729/1.192, allocations: 129.6 kB / 1.287 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/1.192, allocations: 23.62 kB / 1.287 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.304e-05/1.192, allocations: 27.66 kB / 1.287 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/1.192, allocations: 2.5 kB / 1.287 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/1.192, allocations: 0 / 1.287 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.192, allocations: 5.438 kB / 1.287 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/1.193, allocations: 273.3 kB / 1.287 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.193, allocations: 0 / 1.287 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/1.193, allocations: 76.84 kB / 1.287 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/1.193, allocations: 7.938 kB / 1.287 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/1.193, allocations: 2.281 kB / 1.287 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/1.193, allocations: 1.531 kB / 1.287 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.193, allocations: 0 / 1.287 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/1.195, allocations: 0.635 MB / 1.288 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.864e-05/1.195, allocations: 91.44 kB / 1.288 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/1.195, allocations: 5.219 kB / 1.288 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/1.196, allocations: 55.91 kB / 1.288 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.196, allocations: 24.27 kB / 1.288 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/1.196, allocations: 3.906 kB / 1.288 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001254/1.196, allocations: 134 kB / 1.288 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.196, allocations: 0 / 1.288 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002942/1.196, allocations: 39.69 kB / 1.288 GB, free: 6.305 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.002507/1.199, allocations: 1.18 MB / 1.289 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001378/1.2, allocations: 320.2 kB / 1.29 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.2, allocations: 0 / 1.29 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006705/1.201, allocations: 174.5 kB / 1.29 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/1.201, allocations: 42.72 kB / 1.29 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005473/1.207, allocations: 2.532 MB / 1.292 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/1.207, allocations: 0.7324 MB / 1.293 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001074/1.207, allocations: 11.45 kB / 1.293 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/1.207, allocations: 65.16 kB / 1.293 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of SimCode: time 1.163e-06/1.207, allocations: 1.469 kB / 1.293 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/1.234, allocations: 4.77 MB / 1.298 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.572/9.806, allocations: 12.27 kB / 1.298 GB, free: 2.5 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.57429714599857]