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.001991/0.001991, allocations: 80.59 kB / 19.18 MB, free: 2.527 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.002337/0.002337, allocations: 170.1 kB / 22.46 MB, free: 5.355 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.69/1.69, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.822/2.822, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.9511 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.555e-05/3.791e-05, allocations: 8.109 kB / 0.9511 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002388/0.002426, allocations: 1.018 MB / 0.9521 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.003965, allocations: 0.9917 MB / 0.953 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.764e-05/0.004042, allocations: 4 kB / 0.953 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.861e-05/0.004101, allocations: 15.75 kB / 0.953 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.004262, allocations: 43.59 kB / 0.9531 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.004505, allocations: 71.89 kB / 0.9532 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003025/0.004808, allocations: 231.3 kB / 0.9534 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.004982, allocations: 49.14 kB / 0.9534 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.005178, allocations: 135.7 kB / 0.9536 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.00534, allocations: 79.77 kB / 0.9536 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.464e-05/0.005394, allocations: 23.94 kB / 0.9537 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.671e-05/0.005431, allocations: 20 kB / 0.9537 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.005492, allocations: 51.81 kB / 0.9537 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.37e-05/0.005575, allocations: 63.81 kB / 0.9538 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.005885, allocations: 227.2 kB / 0.954 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.005889, allocations: 0 / 0.954 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.032e-06/0.00589, allocations: 0 / 0.954 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.005903, allocations: 0 / 0.954 GB, free: 8.418 MB / 0.8575 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.001306/0.00721, allocations: 0.4972 MB / 0.9545 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.007257, allocations: 8.031 kB / 0.9545 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.584e-05/0.007323, allocations: 24.73 kB / 0.9545 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.007602, allocations: 169.4 kB / 0.9547 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.007617, allocations: 8.375 kB / 0.9547 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/0.007664, allocations: 16.38 kB / 0.9547 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008383/0.008502, allocations: 238 kB / 0.9549 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.008514, allocations: 192 / 0.9549 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.008536, allocations: 4.375 kB / 0.9549 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.008544, allocations: 4.375 kB / 0.9549 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.00973, allocations: 295.6 kB / 0.9552 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007336/0.01046, allocations: 392.1 kB / 0.9556 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008197/0.01128, allocations: 238.3 kB / 0.9558 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006754/0.01196, allocations: 186.4 kB / 0.956 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.01199, allocations: 0 / 0.956 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.01202, allocations: 34.56 kB / 0.956 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.01202, allocations: 3.938 kB / 0.956 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.002093/0.01411, allocations: 0.4935 MB / 0.9565 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.01416, allocations: 51.41 kB / 0.9566 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.01436, allocations: 172.2 kB / 0.9567 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.0144, allocations: 37.7 kB / 0.9568 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.01451, allocations: 128.5 kB / 0.9569 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.972e-05/0.01458, allocations: 63.42 kB / 0.9569 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.972e-05/0.01466, allocations: 29.7 kB / 0.957 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.01484, allocations: 330.8 kB / 0.9573 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006249/0.01547, allocations: 155.8 kB / 0.9574 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007031/0.01617, allocations: 223.8 kB / 0.9577 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.0174, allocations: 302.7 kB / 0.9579 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.0174, allocations: 0 / 0.9579 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00132/0.01872, allocations: 361.2 kB / 0.9583 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.01874, allocations: 8 kB / 0.9583 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.01875, allocations: 4 kB / 0.9583 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.01877, allocations: 0 / 0.9583 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.0192, allocations: 71.86 kB / 0.9584 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.01921, allocations: 4 kB / 0.9584 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/0.01954, allocations: 63.8 kB / 0.9584 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.01956, allocations: 11.98 kB / 0.9584 GB, free: 3.668 MB / 0.8575 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.0001425/0.0197, allocations: 125.8 kB / 0.9586 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.01975, allocations: 19.86 kB / 0.9586 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.736e-05/0.01981, allocations: 21.81 kB / 0.9586 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01981, allocations: 0 / 0.9586 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.01982, allocations: 4 kB / 0.9586 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.01983, allocations: 3.984 kB / 0.9586 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.02012, allocations: 189.2 kB / 0.9588 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.02012, allocations: 4 kB / 0.9588 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004125/0.02053, allocations: 67.92 kB / 0.9589 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.02054, allocations: 0 / 0.9589 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.02056, allocations: 7.984 kB / 0.9589 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.02057, allocations: 4 kB / 0.9589 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02057, allocations: 0 / 0.9589 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.02271, allocations: 0.6371 MB / 0.9595 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.02274, allocations: 19.88 kB / 0.9595 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.02277, allocations: 3.984 kB / 0.9595 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.0231, allocations: 51.94 kB / 0.9596 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.716e-05/0.0232, allocations: 23.95 kB / 0.9596 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.02322, allocations: 8 kB / 0.9596 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001277/0.02334, allocations: 136.3 kB / 0.9597 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.02334, allocations: 0 / 0.9597 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002688/0.02361, allocations: 43.89 kB / 0.9598 GB, free: 2.258 MB / 0.8575 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.0001799/0.02379, allocations: 103.7 kB / 0.9599 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001342/0.02513, allocations: 321.8 kB / 0.9602 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.02514, allocations: 7.938 kB / 0.9602 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006653/0.0258, allocations: 167.8 kB / 0.9603 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.02627, allocations: 39.95 kB / 0.9604 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000878/0.02715, allocations: 354.5 kB / 0.9607 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.02728, allocations: 120 kB / 0.9608 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.877e-05/0.02737, allocations: 17.14 kB / 0.9608 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.338e-05/0.02745, allocations: 16.5 kB / 0.9609 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of SimCode: time 5.61e-07/0.02745, allocations: 0 / 0.9609 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of Templates: time 0.007679/0.03513, allocations: 2.923 MB / 0.9637 GB, free: 14.22 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 400] 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/jenkins/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: 8.394869141280651]