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.001016/0.001016, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001572/0.001572, allocations: 165 kB / 23.82 MB, free: 0.7422 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 0.9526/0.9526, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.844/1.844, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] 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 4.067e-06/4.067e-06, allocations: 0 / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.394e-05/4.801e-05, allocations: 3.562 kB / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002443/0.002491, allocations: 1.071 MB / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.003929, allocations: 1.008 MB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.384e-05/0.004013, allocations: 0 / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.834e-05/0.004071, allocations: 20.48 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.004241, allocations: 44.16 kB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.00447, allocations: 72.62 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.004744, allocations: 231.9 kB / 0.7896 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.004899, allocations: 53.2 kB / 0.7896 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.005073, allocations: 133 kB / 0.7897 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.005207, allocations: 79.77 kB / 0.7898 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.529e-05/0.005252, allocations: 20 kB / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.901e-05/0.005281, allocations: 21.62 kB / 0.7899 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.005326, allocations: 47.81 kB / 0.7899 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.711e-05/0.005393, allocations: 59.83 kB / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.005598, allocations: 151.4 kB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.0056, allocations: 1.219 kB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005601, allocations: 0 / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.005606, allocations: 0 / 0.7901 GB, free: 9.395 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.0008082/0.006414, allocations: 0.5445 MB / 0.7906 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.006462, allocations: 8.031 kB / 0.7906 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.344e-05/0.006545, allocations: 37.48 kB / 0.7907 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.006772, allocations: 168.2 kB / 0.7908 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.00679, allocations: 17.28 kB / 0.7909 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.006827, allocations: 16.38 kB / 0.7909 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.007224, allocations: 168.2 kB / 0.791 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.007234, allocations: 3.594 kB / 0.791 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.007255, allocations: 8.375 kB / 0.791 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.007264, allocations: 384 / 0.791 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.007409, allocations: 51.84 kB / 0.7911 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006118/0.008021, allocations: 435.3 kB / 0.7915 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.008226, allocations: 103 kB / 0.7916 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.008339, allocations: 56.31 kB / 0.7917 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.008367, allocations: 8 kB / 0.7917 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.008395, allocations: 39.05 kB / 0.7917 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.008396, allocations: 0 / 0.7917 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.0004081/0.008804, allocations: 143.6 kB / 0.7918 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.008839, allocations: 51.41 kB / 0.7919 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.008992, allocations: 229.9 kB / 0.7921 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.009013, allocations: 29.7 kB / 0.7921 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.009099, allocations: 179.1 kB / 0.7923 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.17e-05/0.00915, allocations: 59.5 kB / 0.7924 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.644e-05/0.009217, allocations: 40.95 kB / 0.7924 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.009358, allocations: 0.5 MB / 0.7929 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.164e-05/0.00944, allocations: 23.98 kB / 0.7929 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.009563, allocations: 106.4 kB / 0.793 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.009711, allocations: 67.28 kB / 0.7931 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.009714, allocations: 0 / 0.7931 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002332/0.009947, allocations: 121.5 kB / 0.7932 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.009961, allocations: 6.344 kB / 0.7932 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.009965, allocations: 1.188 kB / 0.7932 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.009978, allocations: 4 kB / 0.7932 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.0102, allocations: 52.42 kB / 0.7933 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.01021, allocations: 4.531 kB / 0.7933 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.01033, allocations: 40.67 kB / 0.7933 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.01034, allocations: 4.812 kB / 0.7933 GB, free: 5.902 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.42e-05/0.01044, allocations: 165.1 kB / 0.7935 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.01048, allocations: 19.91 kB / 0.7935 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.01052, allocations: 27.17 kB / 0.7935 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01052, allocations: 0 / 0.7935 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.01053, allocations: 0 / 0.7935 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01053, allocations: 0 / 0.7935 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.01074, allocations: 197.5 kB / 0.7937 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01074, allocations: 0 / 0.7937 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.01093, allocations: 52.67 kB / 0.7937 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01093, allocations: 0.5938 kB / 0.7937 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.01096, allocations: 8 kB / 0.7938 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01096, allocations: 1.344 kB / 0.7938 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.01096, allocations: 0 / 0.7938 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.01136, allocations: 303.6 kB / 0.794 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.01138, allocations: 20.39 kB / 0.7941 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.0114, allocations: 8 kB / 0.7941 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.01155, allocations: 28.78 kB / 0.7941 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/0.01163, allocations: 32.89 kB / 0.7941 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.01164, allocations: 4 kB / 0.7941 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.077e-05/0.01173, allocations: 169.3 kB / 0.7943 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01173, allocations: 3.938 kB / 0.7943 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002638/0.012, allocations: 39.94 kB / 0.7943 GB, free: 4.785 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.0001092/0.0121, allocations: 112.1 kB / 0.7944 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.01234, allocations: 80.25 kB / 0.7945 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01234, allocations: 0 / 0.7945 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.01245, allocations: 55.59 kB / 0.7946 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.01279, allocations: 49.31 kB / 0.7946 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005819/0.01337, allocations: 355.9 kB / 0.795 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.736e-05/0.01343, allocations: 75.83 kB / 0.795 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.087e-05/0.01351, allocations: 12.05 kB / 0.795 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.873e-05/0.01359, allocations: 24.5 kB / 0.7951 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of SimCode: time 9.21e-07/0.01359, allocations: 0.6562 kB / 0.7951 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of Templates: time 0.005975/0.01956, allocations: 3.14 MB / 0.7981 GB, free: 0.9219 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.18116517085582]