Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001777/0.001777, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002219/0.002219, allocations: 216 kB / 23.04 MB, free: 4.863 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.122/3.122, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.001998/0.001998, allocations: 66.08 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3348, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002438/0.3373, allocations: 1.027 MB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.3386, allocations: 0.9949 MB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.439e-05/0.3387, allocations: 4 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.157e-05/0.3387, allocations: 15.75 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.3389, allocations: 43.59 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.3391, allocations: 67.91 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.3393, allocations: 231.4 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.3395, allocations: 49.16 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.3396, allocations: 99.62 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.3397, allocations: 91.58 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.3398, allocations: 20 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.273e-05/0.3398, allocations: 20 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.795e-05/0.3399, allocations: 47.83 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.283e-05/0.3399, allocations: 79.58 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.3402, allocations: 223 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3402, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3402, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.3402, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 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.001146/0.3413, allocations: 0.4933 MB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.3414, allocations: 8.031 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/0.3414, allocations: 24.8 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.3417, allocations: 170.1 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3417, allocations: 12.38 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.3417, allocations: 12.38 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007855/0.3425, allocations: 245.9 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.3425, allocations: 8.125 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.3425, allocations: 7.938 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.3426, allocations: 4 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.3437, allocations: 291.7 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/0.3444, allocations: 384.1 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000779/0.3451, allocations: 234.4 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006428/0.3458, allocations: 181 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.3458, allocations: 11.84 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3458, allocations: 34.56 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.482e-06/0.3458, allocations: 0 / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.00196/0.3478, allocations: 0.4911 MB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.3479, allocations: 59.34 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.348, allocations: 174.3 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.348, allocations: 29.7 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.3481, allocations: 136.4 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6e-05/0.3482, allocations: 59.48 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.483e-05/0.3483, allocations: 37.61 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3484, allocations: 326.8 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/0.349, allocations: 147.8 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006697/0.3497, allocations: 227.8 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.3509, allocations: 296.6 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3509, allocations: 4 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001291/0.3522, allocations: 366.2 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3522, allocations: 9.094 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3522, allocations: 0 / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3522, allocations: 0 / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/0.3527, allocations: 87.78 kB / 1.335 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.3527, allocations: 3.984 kB / 1.335 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.353, allocations: 63.81 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.353, allocations: 8 kB / 1.335 GB, free: 9.18 MB / 1.029 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.0001204/0.3531, allocations: 117.8 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.3532, allocations: 15.91 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.938e-05/0.3532, allocations: 25.8 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.3532, allocations: 7.938 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3532, allocations: 0 / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3532, allocations: 3.938 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.3535, allocations: 185.2 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3535, allocations: 4 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/0.3539, allocations: 71.91 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3539, allocations: 4 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.3539, allocations: 4 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3539, allocations: 0 / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3539, allocations: 7.875 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.3558, allocations: 0.6333 MB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.3559, allocations: 23.86 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.3559, allocations: 4 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.3562, allocations: 51.92 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.3563, allocations: 27.91 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.3563, allocations: 0 / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001025/0.3564, allocations: 135.1 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3564, allocations: 4.062 kB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002659/0.3567, allocations: 39.95 kB / 1.336 GB, free: 7.766 MB / 1.029 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.000129/0.3568, allocations: 95.25 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.3581, allocations: 327.5 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3581, allocations: 0 / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006287/0.3588, allocations: 165.3 kB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.3592, allocations: 35.97 kB / 1.337 GB, free: 7.145 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007696/0.3599, allocations: 394.3 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.3601, allocations: 124 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.3602, allocations: 23.42 kB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3602, allocations: 0 / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of Templates: time 0.004734/0.3649, allocations: 2.677 MB / 1.34 GB, free: 3.918 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.987103797029704]