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.002113/0.002113, allocations: 104.6 kB / 16.45 MB, free: 6.449 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.002681/0.002681, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.667/1.667, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.511/3.511, allocations: 0.4899 GB / 0.7915 GB, free: 33.17 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.002106/0.002106, allocations: 67.73 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4511, allocations: 176.1 MB / 1.321 GB, free: 2.793 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.00266/0.4537, allocations: 1.109 MB / 1.322 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.4553, allocations: 1.003 MB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.352e-05/0.4554, allocations: 4 kB / 1.323 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.959e-05/0.4554, allocations: 19.73 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.4556, allocations: 31.67 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.4558, allocations: 71.83 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000308/0.4562, allocations: 227.4 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.4563, allocations: 56.78 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.4565, allocations: 103.6 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.4567, allocations: 99.58 kB / 1.324 GB, free: 64 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.67e-05/0.4567, allocations: 20 kB / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.428e-05/0.4568, allocations: 20 kB / 1.324 GB, free: 24 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.066e-05/0.4569, allocations: 47.91 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.457, allocations: 95.45 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.4573, allocations: 214.9 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4573, allocations: 0 / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4573, allocations: 0 / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.4573, allocations: 0 / 1.324 GB, free: 15.67 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.001315/0.4586, allocations: 0.5686 MB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.4586, allocations: 11.98 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/0.4587, allocations: 28.8 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.459, allocations: 227.9 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.459, allocations: 8.375 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.459, allocations: 12.38 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008417/0.4599, allocations: 246 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.4599, allocations: 192 / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.4599, allocations: 7.938 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.4599, allocations: 4 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.4611, allocations: 291.6 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008246/0.462, allocations: 0.4925 MB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008192/0.4628, allocations: 230.4 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006893/0.4635, allocations: 188.6 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.4635, allocations: 4 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.4635, allocations: 34.88 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.4635, allocations: 0 / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.002046/0.4656, allocations: 0.4986 MB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.4656, allocations: 55.41 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.4658, allocations: 178.9 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.4659, allocations: 29.7 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.466, allocations: 128.4 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/0.466, allocations: 59.48 kB / 1.328 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.844e-05/0.4661, allocations: 25.72 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4663, allocations: 330.8 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006162/0.4669, allocations: 151.8 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006519/0.4675, allocations: 174.3 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.4687, allocations: 302.7 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4687, allocations: 4 kB / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001354/0.4701, allocations: 358.8 kB / 1.329 GB, free: 10.85 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4701, allocations: 4 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4701, allocations: 0 / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.4702, allocations: 7.938 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/0.4706, allocations: 83.84 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.4706, allocations: 0 / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.471, allocations: 59.88 kB / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.471, allocations: 4 kB / 1.329 GB, free: 10.69 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.000144/0.4711, allocations: 128.7 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.4712, allocations: 15.86 kB / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.406e-05/0.4712, allocations: 33.73 kB / 1.329 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.4713, allocations: 11.98 kB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4713, allocations: 0 / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.4713, allocations: 0 / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.4717, allocations: 277.4 kB / 1.329 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4717, allocations: 0 / 1.329 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004247/0.4721, allocations: 79.84 kB / 1.329 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4721, allocations: 0 / 1.329 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.4721, allocations: 7.938 kB / 1.329 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4721, allocations: 4 kB / 1.33 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4721, allocations: 0 / 1.33 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.4742, allocations: 0.6299 MB / 1.33 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.459e-05/0.4743, allocations: 96.94 kB / 1.33 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.4743, allocations: 7.938 kB / 1.33 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003402/0.4747, allocations: 47.92 kB / 1.33 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.75e-05/0.4748, allocations: 27.91 kB / 1.33 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.4748, allocations: 11.94 kB / 1.33 GB, free: 9.238 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001094/0.4749, allocations: 127.2 kB / 1.33 GB, free: 9.113 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4749, allocations: 4 kB / 1.33 GB, free: 9.109 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000281/0.4752, allocations: 39.95 kB / 1.33 GB, free: 9.07 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.0001892/0.4754, allocations: 107.8 kB / 1.331 GB, free: 8.953 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001371/0.4767, allocations: 311.6 kB / 1.331 GB, free: 8.648 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4767, allocations: 8 kB / 1.331 GB, free: 8.641 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006623/0.4774, allocations: 167.7 kB / 1.331 GB, free: 8.477 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.4778, allocations: 38.16 kB / 1.331 GB, free: 8.441 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008348/0.4787, allocations: 364.4 kB / 1.331 GB, free: 8.059 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.4791, allocations: 0.7279 MB / 1.332 GB, free: 7.301 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.129e-05/0.4792, allocations: 13.09 kB / 1.332 GB, free: 7.289 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.016e-05/0.4792, allocations: 19.42 kB / 1.332 GB, free: 7.27 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.4792, allocations: 0 / 1.332 GB, free: 7.27 MB / 1.029 GB Notification: Performance of Templates: time 0.006373/0.4856, allocations: 2.753 MB / 1.335 GB, free: 4.543 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/jenkins/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: 9.945868117269129]