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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 222.9 MB / 245.7 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.099/3.099, allocations: 489.3 MB / 0.7687 GB, free: 4.016 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 71.89 kB / 1.103 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.005, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002207/1.007, allocations: 1.106 MB / 1.264 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001237/1.008, allocations: 0.959 MB / 1.265 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.717e-05/1.008, allocations: 1.75 kB / 1.265 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.681e-05/1.008, allocations: 20.72 kB / 1.265 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001402/1.009, allocations: 39.09 kB / 1.265 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000205/1.009, allocations: 71.66 kB / 1.265 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002613/1.009, allocations: 224.7 kB / 1.265 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/1.009, allocations: 68.28 kB / 1.265 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/1.009, allocations: 99.45 kB / 1.265 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/1.01, allocations: 109.8 kB / 1.265 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/1.01, allocations: 18.69 kB / 1.265 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.148e-05/1.01, allocations: 23.78 kB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/1.01, allocations: 43.53 kB / 1.265 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.276e-05/1.01, allocations: 89.02 kB / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/1.01, allocations: 223.5 kB / 1.266 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.01, allocations: 0 / 1.266 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/1.01, allocations: 0.8438 kB / 1.266 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.721e-06/1.01, allocations: 0 / 1.266 GB, free: 6.043 MB / 0.9981 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.001131/1.011, allocations: 0.5628 MB / 1.266 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/1.011, allocations: 10.03 kB / 1.266 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/1.011, allocations: 31.11 kB / 1.266 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/1.012, allocations: 227.7 kB / 1.266 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/1.012, allocations: 9.969 kB / 1.266 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/1.012, allocations: 14.25 kB / 1.266 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000849/1.013, allocations: 241.5 kB / 1.267 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.013, allocations: 192 / 1.267 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/1.013, allocations: 9.656 kB / 1.267 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/1.013, allocations: 3.438 kB / 1.267 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/1.014, allocations: 291.3 kB / 1.267 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007018/1.015, allocations: 498.6 kB / 1.267 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008151/1.015, allocations: 250.8 kB / 1.268 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006842/1.016, allocations: 195.7 kB / 1.268 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/1.016, allocations: 6.125 kB / 1.268 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/1.016, allocations: 33.31 kB / 1.268 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/1.016, allocations: 3.938 kB / 1.268 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.002055/1.018, allocations: 0.489 MB / 1.268 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/1.018, allocations: 53.44 kB / 1.268 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/1.018, allocations: 185.4 kB / 1.269 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/1.018, allocations: 26.33 kB / 1.269 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/1.018, allocations: 126.7 kB / 1.269 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/1.019, allocations: 61.75 kB / 1.269 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-05/1.019, allocations: 39.17 kB / 1.269 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.304e-05/1.019, allocations: 328.8 kB / 1.269 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/1.019, allocations: 147.6 kB / 1.269 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006319/1.02, allocations: 176.6 kB / 1.27 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/1.021, allocations: 298.8 kB / 1.27 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.021, allocations: 0.5312 kB / 1.27 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001367/1.022, allocations: 363.4 kB / 1.27 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.023, allocations: 9.375 kB / 1.27 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.023, allocations: 3.938 kB / 1.27 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/1.023, allocations: 4.844 kB / 1.27 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/1.023, allocations: 78.45 kB / 1.27 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/1.023, allocations: 0.8438 kB / 1.27 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/1.023, allocations: 61.45 kB / 1.27 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/1.023, allocations: 5.984 kB / 1.27 GB, free: 3.539 MB / 0.9981 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.0001005/1.023, allocations: 131.9 kB / 1.27 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/1.024, allocations: 16 kB / 1.27 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.655e-05/1.024, allocations: 27.8 kB / 1.27 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.024, allocations: 5.906 kB / 1.27 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.024, allocations: 0 / 1.27 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.024, allocations: 2.141 kB / 1.27 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/1.024, allocations: 269.1 kB / 1.271 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.024, allocations: 0.5 kB / 1.271 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/1.024, allocations: 82.73 kB / 1.271 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.024, allocations: 1.25 kB / 1.271 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/1.024, allocations: 6.172 kB / 1.271 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.024, allocations: 0.9375 kB / 1.271 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.024, allocations: 0.7188 kB / 1.271 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/1.026, allocations: 0.626 MB / 1.271 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/1.026, allocations: 102.6 kB / 1.272 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/1.026, allocations: 8.594 kB / 1.272 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/1.027, allocations: 49.89 kB / 1.272 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/1.027, allocations: 31.88 kB / 1.272 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/1.027, allocations: 3.25 kB / 1.272 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.694e-05/1.027, allocations: 131.4 kB / 1.272 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.027, allocations: 4 kB / 1.272 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002852/1.027, allocations: 39.62 kB / 1.272 GB, free: 2.648 MB / 0.9981 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.0001618/1.027, allocations: 105.5 kB / 1.272 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001334/1.029, allocations: 325.6 kB / 1.272 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.029, allocations: 4 kB / 1.272 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006552/1.03, allocations: 171.3 kB / 1.272 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/1.03, allocations: 32.45 kB / 1.272 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007495/1.031, allocations: 399.2 kB / 1.273 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/1.031, allocations: 0.7277 MB / 1.273 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.88e-05/1.031, allocations: 21.94 kB / 1.274 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/1.031, allocations: 0 / 1.274 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of Templates: time 0.005647/1.037, allocations: 2.614 MB / 1.276 GB, free: 1.25 MB / 0.9981 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.951838865876198]