Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001966/0.001966, allocations: 88.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.002245/0.002245, allocations: 161.3 kB / 23.55 MB, free: 0.8672 MB / 18.57 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.605/1.605, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.842/2.842, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 0 / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.775e-05/4.079e-05, allocations: 8.297 kB / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.003543/0.003584, allocations: 1.021 MB / 0.7874 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002231/0.005815, allocations: 1.001 MB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.005916, allocations: 1.25 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 7.989e-05/0.005996, allocations: 19.73 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.006227, allocations: 45.19 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.006536, allocations: 67.89 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004381/0.006974, allocations: 235.2 kB / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.007176, allocations: 49.91 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.007469, allocations: 135.7 kB / 0.789 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.007677, allocations: 76.33 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.007738, allocations: 20.91 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.438e-05/0.007792, allocations: 23.94 kB / 0.7891 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.192e-05/0.007874, allocations: 49.17 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.007994, allocations: 59.83 kB / 0.7892 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004391/0.008433, allocations: 231.2 kB / 0.7894 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.008437, allocations: 0 / 0.7894 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.332e-06/0.008438, allocations: 2.969 kB / 0.7894 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.008444, allocations: 4 kB / 0.7894 GB, free: 9.723 MB / 0.7448 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.001755/0.0102, allocations: 486.5 kB / 0.7899 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.01025, allocations: 8.625 kB / 0.7899 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.01038, allocations: 36.78 kB / 0.7899 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.01076, allocations: 174.4 kB / 0.7901 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.01079, allocations: 12.31 kB / 0.7901 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.792e-05/0.01086, allocations: 16.38 kB / 0.7901 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.01204, allocations: 241.9 kB / 0.7903 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.01206, allocations: 192 / 0.7903 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.01209, allocations: 4.375 kB / 0.7903 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.537e-06/0.0121, allocations: 6.188 kB / 0.7903 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.01382, allocations: 292.5 kB / 0.7906 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.0149, allocations: 397.6 kB / 0.791 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.0161, allocations: 233.7 kB / 0.7912 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009992/0.0171, allocations: 183.8 kB / 0.7914 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.481e-05/0.01714, allocations: 4.719 kB / 0.7914 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.01719, allocations: 35.41 kB / 0.7914 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.01719, allocations: 0 / 0.7914 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.002624/0.01982, allocations: 0.5042 MB / 0.7919 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.01987, allocations: 51.41 kB / 0.792 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.02009, allocations: 178.1 kB / 0.7921 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.02012, allocations: 29.7 kB / 0.7922 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.02024, allocations: 136.4 kB / 0.7923 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.344e-05/0.02032, allocations: 60.09 kB / 0.7924 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.499e-05/0.02041, allocations: 29.72 kB / 0.7924 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.02061, allocations: 335.6 kB / 0.7927 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006006/0.02121, allocations: 147.4 kB / 0.7928 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/0.02186, allocations: 224.2 kB / 0.7931 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.02302, allocations: 315.9 kB / 0.7934 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.02303, allocations: 0 / 0.7934 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001295/0.02432, allocations: 357.3 kB / 0.7937 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.02434, allocations: 4.781 kB / 0.7937 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.02435, allocations: 0 / 0.7937 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.02437, allocations: 0 / 0.7937 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.0248, allocations: 79.91 kB / 0.7938 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.02481, allocations: 3.938 kB / 0.7938 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.02514, allocations: 67.75 kB / 0.7939 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.02516, allocations: 4 kB / 0.7939 GB, free: 5.004 MB / 0.7448 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.0001381/0.0253, allocations: 125.8 kB / 0.794 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.02537, allocations: 27.83 kB / 0.794 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.649e-05/0.02542, allocations: 21.81 kB / 0.794 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.02542, allocations: 0 / 0.794 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.02543, allocations: 8 kB / 0.794 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.02544, allocations: 0 / 0.794 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.02572, allocations: 189 kB / 0.7942 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.02572, allocations: 0 / 0.7942 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.02615, allocations: 83.84 kB / 0.7943 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.02615, allocations: 0 / 0.7943 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.02618, allocations: 4 kB / 0.7943 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.02618, allocations: 0 / 0.7943 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.02618, allocations: 0 / 0.7943 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.02826, allocations: 0.6381 MB / 0.7949 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.02829, allocations: 15.88 kB / 0.7949 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.02832, allocations: 4 kB / 0.7949 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.02866, allocations: 55.98 kB / 0.795 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.02876, allocations: 23.95 kB / 0.795 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.02878, allocations: 4 kB / 0.795 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001311/0.02891, allocations: 136.2 kB / 0.7951 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.02891, allocations: 0 / 0.7951 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002825/0.02919, allocations: 39.95 kB / 0.7952 GB, free: 3.586 MB / 0.7448 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.0001696/0.02936, allocations: 111.2 kB / 0.7953 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001292/0.03065, allocations: 311.6 kB / 0.7956 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.03066, allocations: 0 / 0.7956 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006755/0.03133, allocations: 171.8 kB / 0.7958 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.0318, allocations: 43.95 kB / 0.7958 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008413/0.03264, allocations: 375.6 kB / 0.7962 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.03279, allocations: 116.1 kB / 0.7963 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.03289, allocations: 13.14 kB / 0.7963 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.478e-05/0.03297, allocations: 16.5 kB / 0.7963 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.03297, allocations: 4 kB / 0.7963 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of Templates: time 0.007194/0.04017, allocations: 2.938 MB / 0.7992 GB, free: 15.52 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.220243516960181]