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.001558/0.001558, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.00169/0.00169, allocations: 204 kB / 20.09 MB, free: 2.977 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 / 253.5 MB, free: 15.08 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 2.985/2.985, allocations: 0.49 GB / 0.7923 GB, free: 1.32 MB / 0.6231 GB " [Timeout remaining time 176] 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.002103/0.002103, allocations: 75.88 kB / 1.15 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002069/1.037, allocations: 1.107 MB / 1.323 GB, free: 24.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00102/1.038, allocations: 0.9956 MB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.856e-05/1.038, allocations: 3.031 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.92e-05/1.038, allocations: 15.75 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001431/1.038, allocations: 44.09 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/1.038, allocations: 71.77 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002025/1.038, allocations: 228.3 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/1.038, allocations: 60.02 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/1.038, allocations: 97.39 kB / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/1.039, allocations: 104.1 kB / 1.325 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.761e-05/1.039, allocations: 21.66 kB / 1.325 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.419e-05/1.039, allocations: 17.12 kB / 1.325 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.835e-05/1.039, allocations: 47.39 kB / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.827e-05/1.039, allocations: 98.19 kB / 1.325 GB, free: 23.1 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/1.039, allocations: 211.9 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.039, allocations: 0 / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.373e-06/1.039, allocations: 0 / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.823e-06/1.039, allocations: 3.938 kB / 1.325 GB, free: 23.02 MB / 1.061 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.001096/1.04, allocations: 0.5743 MB / 1.326 GB, free: 22.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/1.04, allocations: 16.48 kB / 1.326 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.564e-05/1.04, allocations: 24.48 kB / 1.326 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/1.04, allocations: 216.4 kB / 1.326 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/1.04, allocations: 9.688 kB / 1.326 GB, free: 22.31 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/1.04, allocations: 19.84 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007292/1.041, allocations: 239.9 kB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/1.041, allocations: 3.656 kB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/1.041, allocations: 7.938 kB / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/1.041, allocations: 2.938 kB / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/1.042, allocations: 299 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/1.043, allocations: 492 kB / 1.327 GB, free: 21.8 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008265/1.044, allocations: 238.9 kB / 1.327 GB, free: 21.72 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/1.044, allocations: 185.6 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/1.044, allocations: 1.719 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/1.044, allocations: 36.19 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/1.044, allocations: 0 / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.001993/1.046, allocations: 0.4973 MB / 1.328 GB, free: 21.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/1.046, allocations: 54.12 kB / 1.328 GB, free: 21.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/1.047, allocations: 179.3 kB / 1.328 GB, free: 21.33 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/1.047, allocations: 31.34 kB / 1.328 GB, free: 21.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.675e-05/1.047, allocations: 126.9 kB / 1.328 GB, free: 21.18 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/1.047, allocations: 63.06 kB / 1.328 GB, free: 21.13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.56e-05/1.047, allocations: 31.89 kB / 1.328 GB, free: 21.11 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.491e-05/1.047, allocations: 331.9 kB / 1.329 GB, free: 20.78 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006746/1.047, allocations: 143.8 kB / 1.329 GB, free: 20.76 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006855/1.048, allocations: 183 kB / 1.329 GB, free: 20.7 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/1.049, allocations: 303.9 kB / 1.329 GB, free: 20.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.049, allocations: 0 / 1.329 GB, free: 20.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001419/1.051, allocations: 360.4 kB / 1.33 GB, free: 20.55 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.051, allocations: 9.578 kB / 1.33 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/1.051, allocations: 5.312 kB / 1.33 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/1.051, allocations: 4.938 kB / 1.33 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004464/1.051, allocations: 76.88 kB / 1.33 GB, free: 20.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.051, allocations: 1.688 kB / 1.33 GB, free: 20.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/1.052, allocations: 69.61 kB / 1.33 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/1.052, allocations: 4.359 kB / 1.33 GB, free: 20.51 MB / 1.061 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.0001052/1.052, allocations: 125.7 kB / 1.33 GB, free: 20.39 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/1.052, allocations: 18.95 kB / 1.33 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.303e-05/1.052, allocations: 27.8 kB / 1.33 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.052, allocations: 2.172 kB / 1.33 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.052, allocations: 0 / 1.33 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.052, allocations: 1.984 kB / 1.33 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/1.052, allocations: 273.4 kB / 1.33 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.052, allocations: 0 / 1.33 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004124/1.053, allocations: 72.19 kB / 1.33 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/1.053, allocations: 1.188 kB / 1.33 GB, free: 20.12 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/1.053, allocations: 8.906 kB / 1.33 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/1.053, allocations: 0.8125 kB / 1.33 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.053, allocations: 1.359 kB / 1.33 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/1.055, allocations: 0.633 MB / 1.331 GB, free: 19.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/1.055, allocations: 93.84 kB / 1.331 GB, free: 19.76 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/1.055, allocations: 9.781 kB / 1.331 GB, free: 19.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/1.055, allocations: 52.66 kB / 1.331 GB, free: 19.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/1.055, allocations: 27.61 kB / 1.331 GB, free: 19.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/1.055, allocations: 8.312 kB / 1.331 GB, free: 19.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001057/1.055, allocations: 129.9 kB / 1.331 GB, free: 19.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.055, allocations: 0 / 1.331 GB, free: 19.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002837/1.056, allocations: 47.61 kB / 1.331 GB, free: 19.62 MB / 1.061 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.0001505/1.056, allocations: 104.5 kB / 1.331 GB, free: 19.53 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001393/1.057, allocations: 321.2 kB / 1.332 GB, free: 19.48 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.057, allocations: 0 / 1.332 GB, free: 19.48 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006826/1.058, allocations: 167.6 kB / 1.332 GB, free: 19.45 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/1.058, allocations: 34.98 kB / 1.332 GB, free: 19.44 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000801/1.059, allocations: 402.7 kB / 1.332 GB, free: 19.17 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/1.059, allocations: 0.7244 MB / 1.333 GB, free: 18.47 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/1.059, allocations: 26.08 kB / 1.333 GB, free: 18.46 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/1.059, allocations: 0 / 1.333 GB, free: 18.46 MB / 1.061 GB Notification: Performance of Templates: time 0.005817/1.065, allocations: 2.597 MB / 1.335 GB, free: 18.25 MB / 1.061 GB " [Timeout remaining time 299] 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: 11.722055386999273]