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.001967/0.001967, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00243/0.00243, allocations: 221.6 kB / 23 MB, free: 4.918 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.799/2.799, allocations: 476 MB / 0.7707 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] 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: 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: 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.00213/0.00213, allocations: 69.61 kB / 1.118 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3387, allocations: 170 MB / 1.284 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.00245/0.3412, allocations: 1.014 MB / 1.285 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.3426, allocations: 0.9889 MB / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.568e-05/0.3426, allocations: 0 / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.716e-05/0.3427, allocations: 23.67 kB / 1.286 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.3428, allocations: 47.59 kB / 1.286 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.3431, allocations: 71.91 kB / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.3433, allocations: 219.4 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.3435, allocations: 57.09 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.3436, allocations: 91.69 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.3438, allocations: 99.52 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/0.3438, allocations: 20 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.815e-05/0.3439, allocations: 24 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.3439, allocations: 47.83 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.972e-05/0.344, allocations: 71.59 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.3443, allocations: 223 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3443, allocations: 0 / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.674e-06/0.3443, allocations: 0 / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.3443, allocations: 0 / 1.287 GB, free: 8.867 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.001179/0.3455, allocations: 0.491 MB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3455, allocations: 12.03 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.505e-05/0.3455, allocations: 20.78 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.3458, allocations: 174 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.3458, allocations: 12.38 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.3459, allocations: 20.31 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007603/0.3466, allocations: 246.5 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3466, allocations: 4.172 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.3467, allocations: 7.938 kB / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.3467, allocations: 4 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.3478, allocations: 295.7 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006803/0.3485, allocations: 380.1 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000814/0.3493, allocations: 234.4 kB / 1.289 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006236/0.3499, allocations: 184.6 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.3499, allocations: 4 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.35, allocations: 42.56 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.35, allocations: 0 / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.001912/0.3519, allocations: 0.4956 MB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.352, allocations: 55.34 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.3521, allocations: 176.8 kB / 1.29 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.3522, allocations: 37.7 kB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.712e-05/0.3523, allocations: 128.4 kB / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.105e-05/0.3523, allocations: 59.47 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.3524, allocations: 33.7 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3525, allocations: 326.8 kB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005936/0.3531, allocations: 151.8 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006317/0.3538, allocations: 229.7 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.3549, allocations: 303.5 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3549, allocations: 0 / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001228/0.3561, allocations: 357.2 kB / 1.291 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3561, allocations: 4 kB / 1.291 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3561, allocations: 3.984 kB / 1.291 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.3562, allocations: 4 kB / 1.291 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.3566, allocations: 79.8 kB / 1.291 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3566, allocations: 0 / 1.291 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.3569, allocations: 67.81 kB / 1.291 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.3569, allocations: 7.938 kB / 1.291 GB, free: 4.102 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.0001189/0.357, allocations: 126.4 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.3571, allocations: 11.91 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.564e-05/0.3571, allocations: 25.75 kB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3571, allocations: 7.938 kB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3571, allocations: 0 / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3572, allocations: 7.984 kB / 1.291 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.3574, allocations: 181.2 kB / 1.292 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3574, allocations: 0 / 1.292 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/0.3578, allocations: 75.92 kB / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3578, allocations: 0 / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.3578, allocations: 3.938 kB / 1.292 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3578, allocations: 0 / 1.292 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3578, allocations: 11.92 kB / 1.292 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.3597, allocations: 0.6254 MB / 1.292 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.3598, allocations: 23.83 kB / 1.292 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.3598, allocations: 4 kB / 1.292 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.3601, allocations: 51.92 kB / 1.292 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/0.3602, allocations: 31.89 kB / 1.292 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.3602, allocations: 4.062 kB / 1.292 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000116/0.3603, allocations: 140.3 kB / 1.293 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3603, allocations: 0 / 1.293 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002708/0.3606, allocations: 36 kB / 1.293 GB, free: 2.695 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.0001481/0.3608, allocations: 91.25 kB / 1.293 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.362, allocations: 329.8 kB / 1.293 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.362, allocations: 0 / 1.293 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006237/0.3627, allocations: 171.7 kB / 1.293 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.3631, allocations: 31.98 kB / 1.293 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007682/0.3638, allocations: 394.1 kB / 1.294 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.364, allocations: 120 kB / 1.294 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.3641, allocations: 19.44 kB / 1.294 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.3641, allocations: 0 / 1.294 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of Templates: time 0.004898/0.369, allocations: 2.69 MB / 1.296 GB, free: 14.84 MB / 0.9981 GB " [Timeout remaining time 299] 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/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: 11.340205418877304]