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.001594/0.001594, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001889/0.001889, allocations: 216.6 kB / 23.03 MB, free: 4.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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.766 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.804/2.804, allocations: 476.8 MB / 0.7715 GB, free: 3.91 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: "" <> 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.002008/0.002008, allocations: 60.34 kB / 1.118 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3579, allocations: 170 MB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002614/0.3605, allocations: 1.012 MB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.362, allocations: 0.985 MB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.3622, allocations: 4 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.965e-05/0.3623, allocations: 19.73 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.3625, allocations: 43.59 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.3628, allocations: 75.91 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003769/0.3632, allocations: 227.4 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.3633, allocations: 45.23 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.3635, allocations: 107.5 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.3637, allocations: 111.5 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.854e-05/0.3638, allocations: 16 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.739e-05/0.3638, allocations: 20 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.3639, allocations: 47.81 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.505e-05/0.364, allocations: 75.59 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.3643, allocations: 220.1 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3643, allocations: 8 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3643, allocations: 0 / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3643, allocations: 0 / 1.287 GB, free: 7.621 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.001258/0.3655, allocations: 0.4895 MB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3656, allocations: 8.031 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.502e-05/0.3656, allocations: 4.188 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.631e-05/0.3657, allocations: 46.73 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.3657, allocations: 20.84 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.366, allocations: 178 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.366, allocations: 8.375 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.243e-05/0.366, allocations: 20.38 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000796/0.3668, allocations: 246.2 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3668, allocations: 0 / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.3669, allocations: 8 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3669, allocations: 0 / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.368, allocations: 303.7 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007526/0.3687, allocations: 415.6 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007452/0.3695, allocations: 238.3 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006083/0.3701, allocations: 188.7 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.3701, allocations: 0 / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.3702, allocations: 38.88 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.3702, allocations: 0 / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.001837/0.372, allocations: 0.4993 MB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.372, allocations: 51.41 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.3722, allocations: 176.8 kB / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.3723, allocations: 33.7 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.987e-05/0.3724, allocations: 128.4 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.3724, allocations: 59.47 kB / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.788e-05/0.3725, allocations: 33.66 kB / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3727, allocations: 330.8 kB / 1.29 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005677/0.3732, allocations: 147.8 kB / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005976/0.3738, allocations: 225.7 kB / 1.291 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.3749, allocations: 306.9 kB / 1.291 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3749, allocations: 0 / 1.291 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001202/0.3761, allocations: 353.2 kB / 1.291 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3761, allocations: 15.88 kB / 1.291 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3761, allocations: 0 / 1.291 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3761, allocations: 4 kB / 1.291 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.3765, allocations: 79.84 kB / 1.292 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.3765, allocations: 0 / 1.292 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.3768, allocations: 67.81 kB / 1.292 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.3768, allocations: 4 kB / 1.292 GB, free: 2.758 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.0001243/0.377, allocations: 129.7 kB / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.377, allocations: 15.84 kB / 1.292 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.3771, allocations: 25.8 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3771, allocations: 4 kB / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3771, allocations: 0 / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3771, allocations: 0 / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.3774, allocations: 216.6 kB / 1.292 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3774, allocations: 4 kB / 1.292 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/0.3778, allocations: 75.91 kB / 1.292 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.3778, allocations: 3.938 kB / 1.292 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.3778, allocations: 4 kB / 1.292 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3778, allocations: 0 / 1.292 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3778, allocations: 0 / 1.292 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.3797, allocations: 0.6338 MB / 1.293 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.3797, allocations: 23.83 kB / 1.293 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.3797, allocations: 7.938 kB / 1.293 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.3801, allocations: 55.91 kB / 1.293 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.791e-05/0.3802, allocations: 19.97 kB / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.3802, allocations: 11.98 kB / 1.293 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000117/0.3803, allocations: 132.3 kB / 1.293 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3803, allocations: 4.062 kB / 1.293 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002846/0.3806, allocations: 36 kB / 1.293 GB, free: 1.305 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.002207/0.3828, allocations: 1.174 MB / 1.294 GB, free: 104 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.384, allocations: 315.7 kB / 1.294 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.384, allocations: 4 kB / 1.294 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006033/0.3846, allocations: 174.2 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.385, allocations: 39.91 kB / 1.295 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.39, allocations: 2.523 MB / 1.297 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.3901, allocations: 112 kB / 1.297 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.3902, allocations: 17.08 kB / 1.297 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.3904, allocations: 63.41 kB / 1.297 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.3904, allocations: 0 / 1.297 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03323/0.4236, allocations: 5.106 MB / 1.302 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.18, allocations: 9.891 kB / 1.302 GB, free: 7.879 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: 19.169335851911455]