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.000935/0.000935, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001776/0.002711, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007409/0.0007409, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009952/0.001736, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9588/0.9588, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0919/1.051, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.317/2.317, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2501/2.567, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8184 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.454e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.00217/0.002195, allocations: 1.086 MB / 0.8194 GB, free: 1.742 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.003497, allocations: 1.026 MB / 0.8204 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.075e-05/0.003568, allocations: 3.938 kB / 0.8204 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.865e-05/0.003616, allocations: 19.73 kB / 0.8205 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.003741, allocations: 43.59 kB / 0.8205 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.00392, allocations: 67.89 kB / 0.8206 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.004174, allocations: 227.4 kB / 0.8208 GB, free: 356 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.00431, allocations: 51.16 kB / 0.8208 GB, free: 304 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002596/0.00457, allocations: 164.9 kB / 0.821 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.004692, allocations: 83.75 kB / 0.8211 GB, free: 56 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 4.077e-05/0.004733, allocations: 16 kB / 0.8211 GB, free: 40 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 2.747e-05/0.00476, allocations: 23.94 kB / 0.8211 GB, free: 16 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.00481, allocations: 31.92 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.007e-05/0.004871, allocations: 43.88 kB / 0.8212 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.005076, allocations: 131.4 kB / 0.8213 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.81e-05/0.005094, allocations: 0 / 0.8213 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.81e-07/0.005095, allocations: 4 kB / 0.8213 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.593e-05/0.00512, allocations: 0 / 0.8213 GB, free: 15.81 MB / 0.8073 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.0007345/0.005855, allocations: 463.5 kB / 0.8218 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.005891, allocations: 12.03 kB / 0.8218 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.005944, allocations: 20.92 kB / 0.8218 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.006132, allocations: 150.9 kB / 0.8219 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.006151, allocations: 20.31 kB / 0.8219 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.006181, allocations: 12.38 kB / 0.822 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.006517, allocations: 170.8 kB / 0.8221 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.006528, allocations: 4.172 kB / 0.8221 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.006542, allocations: 8.312 kB / 0.8221 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.00655, allocations: 4.375 kB / 0.8221 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.696e-05/0.006647, allocations: 39.91 kB / 0.8222 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.007126, allocations: 287.9 kB / 0.8224 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.007289, allocations: 90.38 kB / 0.8225 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.404e-05/0.007363, allocations: 44.83 kB / 0.8226 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.007387, allocations: 4 kB / 0.8226 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.007416, allocations: 38.56 kB / 0.8226 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=17): time 1.743e-06/0.007417, allocations: 0 / 0.8226 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17): time 0.0003359/0.007753, allocations: 100.3 kB / 0.8227 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.00779, allocations: 59.34 kB / 0.8228 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.007905, allocations: 174.5 kB / 0.8229 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.007923, allocations: 33.7 kB / 0.823 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.007982, allocations: 112.4 kB / 0.8231 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.519e-05/0.008037, allocations: 63.47 kB / 0.8231 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/0.008101, allocations: 33.69 kB / 0.8232 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.245e-05/0.008193, allocations: 330.7 kB / 0.8235 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.013e-05/0.008243, allocations: 16.3 kB / 0.8235 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.133e-05/0.008334, allocations: 101.9 kB / 0.8236 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.008436, allocations: 55 kB / 0.8237 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.008438, allocations: 0 / 0.8237 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001538/0.008592, allocations: 89.5 kB / 0.8237 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.008608, allocations: 8 kB / 0.8237 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.008613, allocations: 4.031 kB / 0.8237 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.008625, allocations: 3.984 kB / 0.8238 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.008849, allocations: 55.97 kB / 0.8238 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.008854, allocations: 3.984 kB / 0.8238 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.008967, allocations: 35.86 kB / 0.8238 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.008979, allocations: 4 kB / 0.8238 GB, free: 13.03 MB / 0.8073 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 7.96e-05/0.009059, allocations: 121.7 kB / 0.824 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.009092, allocations: 15.98 kB / 0.824 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.009132, allocations: 21.81 kB / 0.824 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.009136, allocations: 4 kB / 0.824 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.009138, allocations: 0 / 0.824 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.009142, allocations: 7.922 kB / 0.824 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.009318, allocations: 129.7 kB / 0.8241 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.009319, allocations: 0 / 0.8241 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.009519, allocations: 55.95 kB / 0.8242 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.997e-05/0.009539, allocations: 15.84 kB / 0.8242 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.009542, allocations: 8 kB / 0.8242 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.009559, allocations: 3.984 kB / 0.8242 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.009561, allocations: 0 / 0.8242 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009562, allocations: 3.938 kB / 0.8242 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.009829, allocations: 213 kB / 0.8244 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.009852, allocations: 4 kB / 0.8244 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.009989, allocations: 27.97 kB / 0.8245 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/0.01006, allocations: 27.95 kB / 0.8245 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.01007, allocations: 12 kB / 0.8245 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.314e-05/0.01013, allocations: 57.73 kB / 0.8245 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01013, allocations: 0 / 0.8245 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000205/0.01033, allocations: 39.95 kB / 0.8246 GB, free: 12.23 MB / 0.8073 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.0001184/0.01045, allocations: 84.36 kB / 0.8247 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001648/0.01061, allocations: 63.23 kB / 0.8247 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/0.01063, allocations: 7.938 kB / 0.8247 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.921e-05/0.01071, allocations: 48.77 kB / 0.8248 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.01098, allocations: 63.83 kB / 0.8248 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008158/0.0118, allocations: 365 kB / 0.8252 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.498e-05/0.01185, allocations: 75.83 kB / 0.8253 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.148e-05/0.01193, allocations: 9.156 kB / 0.8253 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.01207, allocations: 87.34 kB / 0.8253 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of SimCode: time 8.52e-07/0.01207, allocations: 0 / 0.8253 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of Templates: time 0.005707/0.01778, allocations: 2.762 MB / 0.828 GB, free: 8.688 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.132054639980197]