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.001118/0.001118, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001983/0.003101, allocations: 449.8 kB / 10.44 MB, free: 252 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.001172/0.001172, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001836/0.003008, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.004/1.004, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1/1.104, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.873/1.873, allocations: 378.3 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5077/2.381, allocations: 123.3 MB / 0.7283 GB, free: 5.746 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.7297 GB, free: 4.355 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.061e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.352 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001652/0.001673, allocations: 1.092 MB / 0.7308 GB, free: 3.297 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.00285, allocations: 1.028 MB / 0.7318 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.002917, allocations: 2.156 kB / 0.7318 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.976e-05/0.002957, allocations: 20.28 kB / 0.7318 GB, free: 2.238 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.003063, allocations: 43.27 kB / 0.7319 GB, free: 2.207 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.003212, allocations: 62.78 kB / 0.7319 GB, free: 2.148 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.003452, allocations: 232.7 kB / 0.7321 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.003594, allocations: 55.19 kB / 0.7322 GB, free: 1.871 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.003806, allocations: 164.1 kB / 0.7324 GB, free: 1.711 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.003936, allocations: 88.25 kB / 0.7324 GB, free: 1.625 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.003977, allocations: 17.41 kB / 0.7325 GB, free: 1.609 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.617e-05/0.004003, allocations: 20 kB / 0.7325 GB, free: 1.59 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.835e-05/0.004042, allocations: 31.88 kB / 0.7325 GB, free: 1.559 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.00409, allocations: 43.88 kB / 0.7325 GB, free: 1.516 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.004285, allocations: 137.1 kB / 0.7327 GB, free: 1.383 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.857e-05/0.004303, allocations: 0 / 0.7327 GB, free: 1.383 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.232e-06/0.004304, allocations: 0 / 0.7327 GB, free: 1.383 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.004323, allocations: 0 / 0.7327 GB, free: 1.383 MB / 0.698 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.0007765/0.005099, allocations: 460.9 kB / 0.7331 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.005141, allocations: 9.156 kB / 0.7331 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.602e-05/0.005207, allocations: 20.92 kB / 0.7331 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.005403, allocations: 154.9 kB / 0.7333 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.005422, allocations: 13.09 kB / 0.7333 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.005457, allocations: 12.38 kB / 0.7333 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.00577, allocations: 168.2 kB / 0.7335 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.00578, allocations: 0.6875 kB / 0.7335 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.005793, allocations: 5.25 kB / 0.7335 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.005803, allocations: 4.375 kB / 0.7335 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.19e-05/0.005875, allocations: 35.86 kB / 0.7335 GB, free: 476 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.006348, allocations: 281.3 kB / 0.7338 GB, free: 180 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.006514, allocations: 91.17 kB / 0.7339 GB, free: 80 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.309e-05/0.006577, allocations: 52.19 kB / 0.7339 GB, free: 28 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.006607, allocations: 0 / 0.7339 GB, free: 28 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.006649, allocations: 36.16 kB / 0.734 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.006651, allocations: 0 / 0.734 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17): time 0.0002391/0.00689, allocations: 105.8 kB / 0.7341 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.006927, allocations: 63.33 kB / 0.7341 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.007044, allocations: 172.2 kB / 0.7343 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.007064, allocations: 30.92 kB / 0.7343 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.007128, allocations: 120.4 kB / 0.7344 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.007176, allocations: 55.47 kB / 0.7345 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.00723, allocations: 37.69 kB / 0.7345 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.007337, allocations: 331.6 kB / 0.7348 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.392e-05/0.007381, allocations: 15.98 kB / 0.7349 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-05/0.007463, allocations: 94.58 kB / 0.7349 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.736e-05/0.00755, allocations: 64.39 kB / 0.735 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.007553, allocations: 0 / 0.735 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001354/0.007688, allocations: 91.31 kB / 0.7351 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.007704, allocations: 8 kB / 0.7351 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.007711, allocations: 0 / 0.7351 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.007729, allocations: 0 / 0.7351 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.007922, allocations: 64.48 kB / 0.7352 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.007925, allocations: 1 kB / 0.7352 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.52e-05/0.00801, allocations: 40.39 kB / 0.7352 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.008021, allocations: 3.984 kB / 0.7352 GB, free: 14.64 MB / 0.7136 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 9.097e-05/0.008112, allocations: 119.5 kB / 0.7353 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.008142, allocations: 15.98 kB / 0.7353 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.008185, allocations: 21.81 kB / 0.7354 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.00819, allocations: 4.938 kB / 0.7354 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.008194, allocations: 0 / 0.7354 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.0082, allocations: 0 / 0.7354 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.008375, allocations: 131 kB / 0.7355 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.008377, allocations: 0 / 0.7355 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.008536, allocations: 56.92 kB / 0.7355 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.008559, allocations: 15.84 kB / 0.7356 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.008562, allocations: 4 kB / 0.7356 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.00858, allocations: 8.547 kB / 0.7356 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.008582, allocations: 1.75 kB / 0.7356 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.008585, allocations: 3.984 kB / 0.7356 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.008843, allocations: 217.8 kB / 0.7358 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.008863, allocations: 8 kB / 0.7358 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/0.008957, allocations: 29.19 kB / 0.7358 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.009029, allocations: 35.83 kB / 0.7358 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.009037, allocations: 4.75 kB / 0.7359 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.682e-05/0.009083, allocations: 44.81 kB / 0.7359 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.009084, allocations: 0.625 kB / 0.7359 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000157/0.009241, allocations: 39.95 kB / 0.7359 GB, free: 13.85 MB / 0.7136 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.0001556/0.009396, allocations: 78.2 kB / 0.736 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001619/0.009558, allocations: 70.69 kB / 0.7361 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/0.009571, allocations: 7.938 kB / 0.7361 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.995e-05/0.009651, allocations: 57.88 kB / 0.7361 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.01001, allocations: 348.5 kB / 0.7365 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008057/0.01082, allocations: 375.6 kB / 0.7368 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.568e-05/0.01087, allocations: 71.83 kB / 0.7369 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.489e-05/0.01095, allocations: 16.05 kB / 0.7369 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.01108, allocations: 83.36 kB / 0.737 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of SimCode: time 6.21e-07/0.01108, allocations: 0 / 0.737 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of Templates: time 0.005281/0.01636, allocations: 2.81 MB / 0.7397 GB, free: 10.01 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate/Buildings_12_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.022506278008223]