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.000844/0.000844, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001057/0.001901, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007084/0.0007084, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009331/0.001642, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.956/0.956, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1032/1.059, allocations: 53.64 MB / 243.3 MB, free: 15.58 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.852/1.852, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5207/2.373, allocations: 123.3 MB / 0.728 GB, free: 5.832 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 3.647e-06/3.647e-06, allocations: 4 kB / 0.7294 GB, free: 4.461 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.948e-05, allocations: 6.25 kB / 0.7294 GB, free: 4.453 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001375/0.001394, allocations: 1.087 MB / 0.7305 GB, free: 3.402 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008817/0.002276, allocations: 1.023 MB / 0.7315 GB, free: 2.367 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.002329, allocations: 7.719 kB / 0.7315 GB, free: 2.363 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.666e-05/0.002365, allocations: 19.73 kB / 0.7315 GB, free: 2.344 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.668e-05/0.002462, allocations: 39.92 kB / 0.7315 GB, free: 2.316 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001153/0.002577, allocations: 67.91 kB / 0.7316 GB, free: 2.25 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.002801, allocations: 227.3 kB / 0.7318 GB, free: 2.027 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.002911, allocations: 43.7 kB / 0.7319 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.003073, allocations: 177.1 kB / 0.732 GB, free: 1.816 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.474e-05/0.003168, allocations: 79.75 kB / 0.7321 GB, free: 1.738 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.003199, allocations: 20 kB / 0.7321 GB, free: 1.719 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.858e-05/0.003217, allocations: 20.75 kB / 0.7321 GB, free: 1.699 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/0.003245, allocations: 31.88 kB / 0.7322 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.003288, allocations: 44.41 kB / 0.7322 GB, free: 1.625 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.003427, allocations: 131.4 kB / 0.7323 GB, free: 1.496 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.651e-05/0.003444, allocations: 0.9375 kB / 0.7323 GB, free: 1.496 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.92e-07/0.003445, allocations: 4 kB / 0.7323 GB, free: 1.492 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.573e-05/0.00346, allocations: 0.5938 kB / 0.7323 GB, free: 1.492 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.0005768/0.004037, allocations: 461.7 kB / 0.7328 GB, free: 1.016 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.004067, allocations: 8.031 kB / 0.7328 GB, free: 1.008 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.004111, allocations: 24.92 kB / 0.7328 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.004253, allocations: 159.7 kB / 0.733 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.004265, allocations: 8.375 kB / 0.733 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.00429, allocations: 20.94 kB / 0.733 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.004526, allocations: 169 kB / 0.7332 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.004534, allocations: 4.172 kB / 0.7332 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.004545, allocations: 9.125 kB / 0.7332 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.004551, allocations: 4.375 kB / 0.7332 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.385e-05/0.004615, allocations: 33.25 kB / 0.7332 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.005032, allocations: 288.5 kB / 0.7335 GB, free: 268 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.005149, allocations: 86.53 kB / 0.7336 GB, free: 172 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.005201, allocations: 46.33 kB / 0.7336 GB, free: 124 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.005224, allocations: 4 kB / 0.7336 GB, free: 120 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.005247, allocations: 34.56 kB / 0.7336 GB, free: 76 kB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 1.834e-06/0.005249, allocations: 0.875 kB / 0.7336 GB, free: 76 kB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.0002175/0.005466, allocations: 112.9 kB / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.005498, allocations: 51.41 kB / 0.7338 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.516e-05/0.005593, allocations: 176.5 kB / 0.734 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.005608, allocations: 29.7 kB / 0.734 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.005656, allocations: 118.2 kB / 0.7341 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.005697, allocations: 63.47 kB / 0.7342 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.00575, allocations: 29.69 kB / 0.7342 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.577e-05/0.005826, allocations: 330.7 kB / 0.7345 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-05/0.00586, allocations: 19.98 kB / 0.7345 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.56e-05/0.005926, allocations: 94.45 kB / 0.7346 GB, free: 15 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.885e-05/0.005994, allocations: 56.41 kB / 0.7347 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005997, allocations: 0 / 0.7347 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001023/0.006099, allocations: 97.48 kB / 0.7348 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.00611, allocations: 4.594 kB / 0.7348 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.006113, allocations: 1.125 kB / 0.7348 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.826e-06/0.006122, allocations: 0 / 0.7348 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.006278, allocations: 60.67 kB / 0.7348 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.006282, allocations: 0 / 0.7348 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.38e-05/0.006356, allocations: 37.02 kB / 0.7349 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.006365, allocations: 9.25 kB / 0.7349 GB, free: 14.74 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 6.051e-05/0.006425, allocations: 121.7 kB / 0.735 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.006449, allocations: 15.98 kB / 0.735 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.006479, allocations: 22.84 kB / 0.735 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.00648, allocations: 0 / 0.735 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.006483, allocations: 3.984 kB / 0.735 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.006486, allocations: 4.469 kB / 0.735 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.006606, allocations: 131.3 kB / 0.7352 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.006608, allocations: 0 / 0.7352 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.006737, allocations: 55.91 kB / 0.7352 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.006752, allocations: 25.05 kB / 0.7352 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.006753, allocations: 0 / 0.7352 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.006765, allocations: 0 / 0.7352 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.006767, allocations: 4.625 kB / 0.7352 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006768, allocations: 0 / 0.7352 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.006961, allocations: 221.8 kB / 0.7355 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.006977, allocations: 4 kB / 0.7355 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/0.00706, allocations: 25.53 kB / 0.7355 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.007115, allocations: 31.95 kB / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.007121, allocations: 4 kB / 0.7355 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.899e-05/0.00715, allocations: 43.38 kB / 0.7356 GB, free: 14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00715, allocations: 0 / 0.7356 GB, free: 14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001326/0.007283, allocations: 39.95 kB / 0.7356 GB, free: 13.96 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 7.822e-05/0.007361, allocations: 89.59 kB / 0.7357 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.007484, allocations: 63.59 kB / 0.7357 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/0.007493, allocations: 12.95 kB / 0.7358 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.484e-05/0.007548, allocations: 44.78 kB / 0.7358 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.007741, allocations: 64.34 kB / 0.7359 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005909/0.008332, allocations: 368 kB / 0.7362 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.05e-05/0.008373, allocations: 75.83 kB / 0.7363 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.352e-05/0.008426, allocations: 9.797 kB / 0.7363 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.008526, allocations: 83.36 kB / 0.7364 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/0.008527, allocations: 0.6562 kB / 0.7364 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of Templates: time 0.004313/0.01284, allocations: 2.764 MB / 0.7391 GB, free: 10.52 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.868635759688914]