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.0007328/0.0007328, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001786, allocations: 440 kB / 10.41 MB, free: 284 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.0006826/0.0006826, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009228/0.001605, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9187/0.9187, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08599/1.005, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.48/2.48, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2407/2.721, allocations: 146 MB / 0.8176 GB, free: 3.805 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.785e-06/2.785e-06, allocations: 4 kB / 0.819 GB, free: 2.406 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.423e-05, allocations: 6.25 kB / 0.819 GB, free: 2.398 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001585/0.001609, allocations: 1.092 MB / 0.8201 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009823/0.002591, allocations: 1.014 MB / 0.8211 GB, free: 280 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.138e-05/0.002652, allocations: 7.938 kB / 0.8211 GB, free: 272 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.828e-05/0.002691, allocations: 15.75 kB / 0.8211 GB, free: 256 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 9.079e-05/0.002781, allocations: 43.59 kB / 0.8211 GB, free: 212 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.002934, allocations: 71.89 kB / 0.8212 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.003159, allocations: 223.4 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.003271, allocations: 55.08 kB / 0.8215 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.003457, allocations: 160.3 kB / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.003558, allocations: 83.75 kB / 0.8217 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.003592, allocations: 20 kB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 2.101e-05/0.003613, allocations: 23.94 kB / 0.8217 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.003644, allocations: 31.88 kB / 0.8218 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.003684, allocations: 43.88 kB / 0.8218 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.003832, allocations: 123.5 kB / 0.8219 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.003844, allocations: 4 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003844, allocations: 0 / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.003855, allocations: 0 / 0.8219 GB, free: 15.38 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.0005741/0.00443, allocations: 467.5 kB / 0.8224 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.004461, allocations: 12.03 kB / 0.8224 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.004505, allocations: 24.91 kB / 0.8224 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.004646, allocations: 153.5 kB / 0.8226 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.004659, allocations: 20.3 kB / 0.8226 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.004686, allocations: 16.38 kB / 0.8226 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.004937, allocations: 167.6 kB / 0.8228 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.004943, allocations: 192 / 0.8228 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.004955, allocations: 8.375 kB / 0.8228 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.004961, allocations: 4.375 kB / 0.8228 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.653e-05/0.005028, allocations: 31.92 kB / 0.8228 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.005397, allocations: 283.9 kB / 0.8231 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.005533, allocations: 99.73 kB / 0.8232 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.005587, allocations: 40.83 kB / 0.8232 GB, free: 14 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.005607, allocations: 4 kB / 0.8232 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.005633, allocations: 38.56 kB / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.005634, allocations: 0 / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17): time 0.0001971/0.005831, allocations: 99.83 kB / 0.8233 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.005864, allocations: 63.34 kB / 0.8234 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.583e-05/0.00596, allocations: 174.5 kB / 0.8236 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.005978, allocations: 29.7 kB / 0.8236 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.00603, allocations: 116.4 kB / 0.8237 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.006074, allocations: 63.47 kB / 0.8238 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.00612, allocations: 29.7 kB / 0.8238 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.006213, allocations: 338.7 kB / 0.8241 GB, free: 13 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-05/0.006251, allocations: 12.31 kB / 0.8241 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.498e-05/0.006326, allocations: 97.86 kB / 0.8242 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.056e-05/0.006407, allocations: 54.98 kB / 0.8243 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.006409, allocations: 4 kB / 0.8243 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000117/0.006526, allocations: 89.53 kB / 0.8244 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.006539, allocations: 8 kB / 0.8244 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.006543, allocations: 4 kB / 0.8244 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.006553, allocations: 0 / 0.8244 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.006712, allocations: 59.95 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006715, allocations: 0 / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.925e-05/0.006794, allocations: 31.86 kB / 0.8245 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.006804, allocations: 12 kB / 0.8245 GB, free: 12.6 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.203e-05/0.006876, allocations: 129.7 kB / 0.8246 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.006901, allocations: 15.98 kB / 0.8246 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.006932, allocations: 21.8 kB / 0.8246 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.006935, allocations: 4 kB / 0.8246 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.006937, allocations: 0 / 0.8246 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.00694, allocations: 0 / 0.8246 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.00707, allocations: 125.7 kB / 0.8248 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.007071, allocations: 0 / 0.8248 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.007203, allocations: 59.95 kB / 0.8248 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.007218, allocations: 23.78 kB / 0.8248 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.00722, allocations: 0 / 0.8248 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.007232, allocations: 4 kB / 0.8248 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.007234, allocations: 0 / 0.8248 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.007236, allocations: 7.922 kB / 0.8248 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.00744, allocations: 213.6 kB / 0.8251 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.007456, allocations: 7.984 kB / 0.8251 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.675e-05/0.007543, allocations: 27.97 kB / 0.8251 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.007599, allocations: 27.97 kB / 0.8251 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.007605, allocations: 8.031 kB / 0.8251 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.036e-05/0.007646, allocations: 53.83 kB / 0.8252 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007646, allocations: 0 / 0.8252 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001444/0.00779, allocations: 39.95 kB / 0.8252 GB, free: 11.8 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 9.295e-05/0.007883, allocations: 80.36 kB / 0.8253 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001322/0.008015, allocations: 74.92 kB / 0.8254 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/0.008027, allocations: 11.88 kB / 0.8254 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/0.008093, allocations: 48.83 kB / 0.8254 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.008381, allocations: 354.6 kB / 0.8258 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/0.009016, allocations: 368.5 kB / 0.8261 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.291e-05/0.009059, allocations: 75.83 kB / 0.8262 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.644e-05/0.009126, allocations: 17.47 kB / 0.8262 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.009236, allocations: 79.36 kB / 0.8263 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of SimCode: time 5.51e-07/0.009236, allocations: 4 kB / 0.8263 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of Templates: time 0.004129/0.01337, allocations: 2.815 MB / 0.829 GB, free: 7.836 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.182261377573013]