Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001969/0.001969, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001774/0.001774, allocations: 210.1 kB / 22.25 MB, free: 4.859 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.516/3.516, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.003289/0.003289, allocations: 67.8 kB / 1.186 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5109/0.5142, allocations: 181.9 MB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002695/0.5169, allocations: 1.013 MB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.5185, allocations: 1.003 MB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.083e-05/0.5186, allocations: 0 / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.594e-05/0.5186, allocations: 19.73 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.5188, allocations: 43.59 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.519, allocations: 63.91 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.5194, allocations: 239.3 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.5195, allocations: 49.17 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.5197, allocations: 91.69 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.5199, allocations: 95.58 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.513e-05/0.5199, allocations: 20 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.88e-05/0.5199, allocations: 20 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.52, allocations: 51.75 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.872e-05/0.5201, allocations: 75.59 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.5204, allocations: 215 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.5204, allocations: 3.984 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5204, allocations: 4 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.5204, allocations: 0 / 1.367 GB, free: 10.48 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.001351/0.5218, allocations: 493.2 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.5218, allocations: 19.97 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.424e-05/0.5219, allocations: 20.8 kB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.5222, allocations: 166.2 kB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.5222, allocations: 12.38 kB / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.5223, allocations: 16.38 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008049/0.5231, allocations: 245.9 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.5231, allocations: 192 / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.5231, allocations: 7.938 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.5231, allocations: 4 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.5242, allocations: 291.7 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007126/0.525, allocations: 388.1 kB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007619/0.5257, allocations: 238.3 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006132/0.5263, allocations: 184.7 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.5264, allocations: 4 kB / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.5264, allocations: 38.88 kB / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.5264, allocations: 0 / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.001871/0.5283, allocations: 0.4893 MB / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.5283, allocations: 55.34 kB / 1.369 GB, free: 7.719 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.5285, allocations: 174.9 kB / 1.37 GB, free: 7.539 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.5286, allocations: 41.58 kB / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.5287, allocations: 128.4 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.592e-05/0.5287, allocations: 59.44 kB / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.5288, allocations: 33.7 kB / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.529, allocations: 330.8 kB / 1.37 GB, free: 6.934 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005708/0.5296, allocations: 151.8 kB / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006241/0.5302, allocations: 228.1 kB / 1.37 GB, free: 6.543 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.5313, allocations: 300.6 kB / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.5313, allocations: 0 / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001206/0.5325, allocations: 358.9 kB / 1.371 GB, free: 5.891 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.5325, allocations: 4 kB / 1.371 GB, free: 5.887 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.5325, allocations: 3.938 kB / 1.371 GB, free: 5.883 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.5325, allocations: 11.97 kB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.533, allocations: 79.86 kB / 1.371 GB, free: 5.793 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.533, allocations: 0 / 1.371 GB, free: 5.793 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.5333, allocations: 63.81 kB / 1.371 GB, free: 5.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.5333, allocations: 4 kB / 1.371 GB, free: 5.727 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.0001335/0.5334, allocations: 133.8 kB / 1.371 GB, free: 5.586 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.5335, allocations: 15.91 kB / 1.371 GB, free: 5.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/0.5335, allocations: 21.81 kB / 1.371 GB, free: 5.547 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.5335, allocations: 3.938 kB / 1.371 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5335, allocations: 0 / 1.371 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5335, allocations: 3.984 kB / 1.371 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.5338, allocations: 177.2 kB / 1.372 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5338, allocations: 3.984 kB / 1.372 GB, free: 5.332 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003965/0.5342, allocations: 79.92 kB / 1.372 GB, free: 5.254 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.5342, allocations: 0 / 1.372 GB, free: 5.254 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.5342, allocations: 0 / 1.372 GB, free: 5.254 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.5342, allocations: 4 kB / 1.372 GB, free: 5.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.5342, allocations: 11.92 kB / 1.372 GB, free: 5.238 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.5361, allocations: 0.6257 MB / 1.372 GB, free: 4.598 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.5362, allocations: 15.84 kB / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.5362, allocations: 4 kB / 1.372 GB, free: 4.578 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.5365, allocations: 55.98 kB / 1.372 GB, free: 4.523 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.5366, allocations: 31.89 kB / 1.372 GB, free: 4.492 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.5366, allocations: 4 kB / 1.372 GB, free: 4.488 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001175/0.5367, allocations: 136.3 kB / 1.373 GB, free: 4.355 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.5367, allocations: 0 / 1.373 GB, free: 4.355 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000278/0.537, allocations: 39.95 kB / 1.373 GB, free: 4.316 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.0001745/0.5372, allocations: 99.19 kB / 1.373 GB, free: 4.207 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001268/0.5385, allocations: 321.7 kB / 1.373 GB, free: 3.895 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5385, allocations: 3.938 kB / 1.373 GB, free: 3.891 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006155/0.5391, allocations: 179.6 kB / 1.373 GB, free: 3.715 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.5396, allocations: 27.98 kB / 1.373 GB, free: 3.688 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009176/0.5405, allocations: 373.6 kB / 1.374 GB, free: 3.297 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.5406, allocations: 116 kB / 1.374 GB, free: 3.168 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.584e-05/0.5407, allocations: 13.08 kB / 1.374 GB, free: 3.152 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/0.5408, allocations: 19.44 kB / 1.374 GB, free: 3.137 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.5408, allocations: 0 / 1.374 GB, free: 3.137 MB / 1.061 GB Notification: Performance of Templates: time 0.006876/0.5477, allocations: 3.091 MB / 1.377 GB, free: 100 kB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.212894942611456]