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.001009/0.001009, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001446/0.001446, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 0.9903/0.9903, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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 1.875/1.875, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] 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 1.403e-06/1.403e-06, allocations: 0 / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.126e-05, allocations: 9.969 kB / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001484/0.001505, allocations: 1.064 MB / 0.7882 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.002538, allocations: 1.004 MB / 0.7892 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.002602, allocations: 0 / 0.7892 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.107e-05/0.002643, allocations: 20.3 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.002767, allocations: 44.44 kB / 0.7893 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.002941, allocations: 72.77 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.003137, allocations: 227.3 kB / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.003266, allocations: 53.86 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.003393, allocations: 140.2 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.003494, allocations: 79.77 kB / 0.7898 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.00354, allocations: 21.56 kB / 0.7898 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.177e-05/0.003562, allocations: 20 kB / 0.7898 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.003595, allocations: 43.83 kB / 0.7899 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.303e-05/0.003648, allocations: 59.83 kB / 0.7899 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.003807, allocations: 152.9 kB / 0.7901 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.003809, allocations: 0 / 0.7901 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.71e-07/0.00381, allocations: 0 / 0.7901 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.003815, allocations: 0 / 0.7901 GB, free: 9.742 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.000664/0.004479, allocations: 0.5441 MB / 0.7906 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.004523, allocations: 11.47 kB / 0.7906 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.001e-05/0.004593, allocations: 36.8 kB / 0.7907 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.0048, allocations: 168.2 kB / 0.7908 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.004822, allocations: 12.38 kB / 0.7908 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.004864, allocations: 16.38 kB / 0.7909 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.005217, allocations: 166.8 kB / 0.791 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.005227, allocations: 0.9062 kB / 0.791 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.005244, allocations: 8.375 kB / 0.791 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.005253, allocations: 0.9062 kB / 0.791 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.005375, allocations: 52.61 kB / 0.7911 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.005917, allocations: 436.6 kB / 0.7915 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.006097, allocations: 107.6 kB / 0.7916 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.443e-05/0.006191, allocations: 55.59 kB / 0.7916 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.006218, allocations: 9.125 kB / 0.7917 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.006246, allocations: 37.39 kB / 0.7917 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=17): time 2.004e-06/0.006248, allocations: 0 / 0.7917 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.0003328/0.006581, allocations: 144 kB / 0.7918 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.006615, allocations: 51.41 kB / 0.7919 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.006754, allocations: 229.3 kB / 0.7921 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.006775, allocations: 33.64 kB / 0.7921 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.00685, allocations: 180.5 kB / 0.7923 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.006894, allocations: 59.5 kB / 0.7924 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.006944, allocations: 39.36 kB / 0.7924 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.007073, allocations: 0.5007 MB / 0.7929 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.229e-05/0.007136, allocations: 23.98 kB / 0.7929 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.007238, allocations: 109.9 kB / 0.793 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.007349, allocations: 59.59 kB / 0.7931 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.007351, allocations: 0 / 0.7931 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001927/0.007544, allocations: 129.8 kB / 0.7932 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.007559, allocations: 4 kB / 0.7932 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.007565, allocations: 4 kB / 0.7932 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.00758, allocations: 0 / 0.7932 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.007747, allocations: 47.95 kB / 0.7932 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.007755, allocations: 6.781 kB / 0.7933 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.79e-05/0.007842, allocations: 39.8 kB / 0.7933 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.007853, allocations: 4 kB / 0.7933 GB, free: 6.25 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 9.212e-05/0.007945, allocations: 168.5 kB / 0.7935 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.007976, allocations: 19.91 kB / 0.7935 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.008012, allocations: 27.27 kB / 0.7935 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.008015, allocations: 0 / 0.7935 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.008021, allocations: 4 kB / 0.7935 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.008025, allocations: 0 / 0.7935 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.008202, allocations: 196.9 kB / 0.7937 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.008204, allocations: 0.5625 kB / 0.7937 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.008356, allocations: 53.33 kB / 0.7937 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.008359, allocations: 0 / 0.7937 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.008381, allocations: 4 kB / 0.7937 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.008383, allocations: 4.562 kB / 0.7938 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.008384, allocations: 0 / 0.7938 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.008727, allocations: 308 kB / 0.794 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.008745, allocations: 15.86 kB / 0.7941 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.008768, allocations: 4 kB / 0.7941 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.825e-05/0.008866, allocations: 28.47 kB / 0.7941 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/0.008942, allocations: 33.08 kB / 0.7941 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.00895, allocations: 4 kB / 0.7941 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.024e-05/0.009021, allocations: 172 kB / 0.7943 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009021, allocations: 0.9062 kB / 0.7943 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001679/0.009189, allocations: 39.94 kB / 0.7943 GB, free: 5.133 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 9.918e-05/0.009288, allocations: 112 kB / 0.7944 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.009486, allocations: 72.59 kB / 0.7945 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.009488, allocations: 3.938 kB / 0.7945 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.972e-05/0.009568, allocations: 51.66 kB / 0.7946 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.009824, allocations: 50.95 kB / 0.7946 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.01037, allocations: 356.8 kB / 0.7949 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.948e-05/0.01042, allocations: 75.83 kB / 0.795 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.793e-05/0.01047, allocations: 12.11 kB / 0.795 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.01053, allocations: 24.5 kB / 0.7951 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.01053, allocations: 1.094 kB / 0.7951 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of Templates: time 0.004675/0.01521, allocations: 2.919 MB / 0.7979 GB, free: 1.484 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.413114772876725]